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/multiple_database | |
| parent | c0c78f1b707f825eee974c65515a837f8cf46e66 (diff) | |
Fixed #23620 -- Used more specific assertions in the Django test suite.
Diffstat (limited to 'tests/multiple_database')
| -rw-r--r-- | tests/multiple_database/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/multiple_database/tests.py b/tests/multiple_database/tests.py index 88da4072ae..f230311eed 100644 --- a/tests/multiple_database/tests.py +++ b/tests/multiple_database/tests.py @@ -1485,7 +1485,7 @@ class AuthTestCase(TestCase): new_io = StringIO() management.call_command('dumpdata', 'auth', format='json', database='other', stdout=new_io) command_output = new_io.getvalue().strip() - self.assertTrue('"email": "alice@example.com"' in command_output) + self.assertIn('"email": "alice@example.com"', command_output) class AntiPetRouter(object): |
