mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Fixed #23620 -- Used more specific assertions in the Django test suite.
This commit is contained in:
parent
c0c78f1b70
commit
f7969b0920
83 changed files with 419 additions and 429 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue