summaryrefslogtreecommitdiff
path: root/paste/fixture.py
diff options
context:
space:
mode:
authorianb <devnull@localhost>2008-11-16 00:34:49 +0000
committerianb <devnull@localhost>2008-11-16 00:34:49 +0000
commitfd10a55ca670f141800b22a63a79ffb2f41689ce (patch)
treeee84a39e1103b5c4f919a715c73ac565e6a8f4a4 /paste/fixture.py
parent2747956188bc28956c0db5701f5f0ea0019b50bf (diff)
downloadpaste-fd10a55ca670f141800b22a63a79ffb2f41689ce.tar.gz
Fixed mustcontain(no=...) (#245)
Diffstat (limited to 'paste/fixture.py')
-rw-r--r--paste/fixture.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/paste/fixture.py b/paste/fixture.py
index f6117d4..08fab61 100644
--- a/paste/fixture.py
+++ b/paste/fixture.py
@@ -825,7 +825,7 @@ class TestResponse(object):
"Body does not contain string %r" % s)
for no_s in no:
if no_s in self:
- print >> sys.stderr, "Actual response (has %r)" % s
+ print >> sys.stderr, "Actual response (has %r)" % no_s
print >> sys.stderr, self
raise IndexError(
"Body contains string %r" % s)