Browse files

[1.5.x] Fixed a randomly failing test under Python 3.

Refs #17758.

Backport of e8f07f0 from master.
  • Loading branch information...
1 parent 2164cd0 commit 1114d8203ea48f4a1021f59a87954d321d8b1fa5 @aaugustin aaugustin committed Dec 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/regressiontests/multiple_database/tests.py
View
2 tests/regressiontests/multiple_database/tests.py
@@ -1596,7 +1596,7 @@ def test_dumpdata(self):
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')

0 comments on commit 1114d82

Please sign in to comment.