Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed a randomly failing test under Python 3.

Refs #17758.
  • Loading branch information...
commit e8f07f0378cef5a133028c502ff4064b91cd0611 1 parent 8bc410b
@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.