Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

Refs #17758.

Backport of e8f07f0 from master.
  • Loading branch information...
commit 1114d8203ea48f4a1021f59a87954d321d8b1fa5 1 parent 2164cd0
@aaugustin aaugustin authored
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')
Please sign in to comment.
Something went wrong with that request. Please try again.