Fixed a randomly failing test under Python 3.

Refs #17758.
This commit is contained in:
Aymeric Augustin 2012-12-24 11:25:58 +01:00
parent 8bc410b445
commit e8f07f0378
1 changed files with 1 additions and 1 deletions

View File

@ -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')