mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #23620 -- Used more specific assertions in the Django test suite.
This commit is contained in:
committed by
Tim Graham
parent
c0c78f1b70
commit
f7969b0920
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user