diff options
| author | Brian Rosner <brosner@gmail.com> | 2008-07-17 20:12:21 +0000 |
|---|---|---|
| committer | Brian Rosner <brosner@gmail.com> | 2008-07-17 20:12:21 +0000 |
| commit | 91880138897886f04b8ea186582a86c1c0417b51 (patch) | |
| tree | 21f91e69fb4361e404fed3f604cd31f1577e2329 /tests/regressiontests/admin_scripts | |
| parent | 1eed9b076c28f3cd1720743cfff5a31fcb5aef5d (diff) | |
newforms-admin: Merged from trunk up to [7941].
git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@7944 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/regressiontests/admin_scripts')
| -rw-r--r-- | tests/regressiontests/admin_scripts/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/regressiontests/admin_scripts/tests.py b/tests/regressiontests/admin_scripts/tests.py index 3ebcfbb6cd..442f357782 100644 --- a/tests/regressiontests/admin_scripts/tests.py +++ b/tests/regressiontests/admin_scripts/tests.py @@ -108,7 +108,7 @@ class AdminScriptTestCase(unittest.TestCase): self.assertEquals(len(stream), 0, "Stream should be empty: actually contains '%s'" % stream) def assertOutput(self, stream, msg): "Utility assertion: assert that the given message exists in the output" - self.assertTrue(msg in stream, "'%s' does not match actual output text '%s'" % (msg, stream)) + self.failUnless(msg in stream, "'%s' does not match actual output text '%s'" % (msg, stream)) ########################################################################## # DJANGO ADMIN TESTS |
