summaryrefslogtreecommitdiff
path: root/tests/regressiontests/multiple_database
diff options
context:
space:
mode:
authorAymeric Augustin <aymeric.augustin@m4x.org>2012-12-24 11:25:58 +0100
committerAymeric Augustin <aymeric.augustin@m4x.org>2012-12-24 11:26:38 +0100
commit1114d8203ea48f4a1021f59a87954d321d8b1fa5 (patch)
tree106e457f4ccb88093acebe0cec99e5787da80461 /tests/regressiontests/multiple_database
parent2164cd00ecdb61774d05f5f278078a28c926779f (diff)
[1.5.x] Fixed a randomly failing test under Python 3.
Refs #17758. Backport of e8f07f0 from master.
Diffstat (limited to 'tests/regressiontests/multiple_database')
-rw-r--r--tests/regressiontests/multiple_database/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/regressiontests/multiple_database/tests.py b/tests/regressiontests/multiple_database/tests.py
index a903ea11a0..d2a5058206 100644
--- a/tests/regressiontests/multiple_database/tests.py
+++ b/tests/regressiontests/multiple_database/tests.py
@@ -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')