Kaydet (Commit) e8f07f03 authored tarafından Aymeric Augustin's avatar Aymeric Augustin

Fixed a randomly failing test under Python 3.

Refs #17758.
üst 8bc410b4
......@@ -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')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment