Package: python-paste
Version: 1.7.5.1-4.1
Severity: important

I use python-paste as a testsuite for web.py.

I discovered a small bug that let's my Python tests fail for the method ,,TestResponse.mustcontain()''.

Patch is attached.

Mike


--

DAS-NETZWERKTEAM
mike gabriel, rothenstein 5, 24214 neudorf-bornstein
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
--- paste/fixture.py.orig	2012-12-06 09:17:37.000000000 +0100
+++ paste/fixture.py	2012-12-06 09:17:45.000000000 +0100
@@ -828,7 +828,7 @@
                 print >> sys.stderr, "Actual response (has %r)" % no_s
                 print >> sys.stderr, self
                 raise IndexError(
-                    "Body contains string %r" % s)
+                    "Body contains string %r" % no_s)
 
     def __repr__(self):
         return '<Response %s %r>' % (self.full_status, self.body[:20])

Attachment: pgpQbbCUJDSuP.pgp
Description: Digitale PGP-Unterschrift

Reply via email to