From fd10a55ca670f141800b22a63a79ffb2f41689ce Mon Sep 17 00:00:00 2001 From: ianb Date: Sun, 16 Nov 2008 00:34:49 +0000 Subject: Fixed mustcontain(no=...) (#245) --- paste/fixture.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'paste/fixture.py') 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) -- cgit v1.2.1