Skip to content

Commit

Permalink
Fixed a randomly failing test under Python 3.
Browse files Browse the repository at this point in the history
Refs #17758.
  • Loading branch information
aaugustin committed Dec 24, 2012
1 parent 8bc410b commit e8f07f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/regressiontests/multiple_database/tests.py
Expand Up @@ -1596,7 +1596,7 @@ def test_dumpdata(self):
new_io = StringIO() new_io = StringIO()
management.call_command('dumpdata', 'auth', format='json', database='other', stdout=new_io) management.call_command('dumpdata', 'auth', format='json', database='other', stdout=new_io)
command_output = new_io.getvalue().strip() 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') @override_settings(AUTH_PROFILE_MODULE='multiple_database.UserProfile')
Expand Down

0 comments on commit e8f07f0

Please sign in to comment.