mirror of
https://github.com/django/django.git
synced 2025-05-05 22:47:32 +00:00
[1.5.x] Fixed a randomly failing test under Python 3.
Refs #17758. Backport of e8f07f0 from master.
This commit is contained in:
parent
2164cd00ec
commit
1114d8203e
@ -1596,7 +1596,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.assertTrue('"email": "alice@example.com"' in command_output)
|
||||
|
||||
|
||||
@override_settings(AUTH_PROFILE_MODULE='multiple_database.UserProfile')
|
||||
|
Loading…
x
Reference in New Issue
Block a user