diff options
| author | Berker Peksag <berker.peksag@gmail.com> | 2014-10-28 12:02:56 +0200 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-11-03 11:56:37 -0500 |
| commit | f7969b0920c403118656f6bfec58d6454d79ef1a (patch) | |
| tree | 866df7de0524251323fef2b4262e672150d95f00 /tests/test_runner | |
| parent | c0c78f1b707f825eee974c65515a837f8cf46e66 (diff) | |
Fixed #23620 -- Used more specific assertions in the Django test suite.
Diffstat (limited to 'tests/test_runner')
| -rw-r--r-- | tests/test_runner/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_runner/tests.py b/tests/test_runner/tests.py index 66d98a40c5..e1eb9a55e1 100644 --- a/tests/test_runner/tests.py +++ b/tests/test_runner/tests.py @@ -399,7 +399,7 @@ class DeprecationDisplayTest(AdminScriptTestCase): args = ['test', '--settings=test_project.settings', '--verbosity=0', 'test_runner_deprecation_app'] out, err = self.run_django_admin(args) self.assertIn("Ran 1 test", err) - self.assertFalse("warning from test" in err) + self.assertNotIn("warning from test", err) class AutoIncrementResetTest(TransactionTestCase): |
