Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed a randomly failing test under Python 3.

Refs #17758.
  • Loading branch information...
commit e8f07f0378cef5a133028c502ff4064b91cd0611 1 parent 8bc410b
Aymeric Augustin authored December 24, 2012
2  tests/regressiontests/multiple_database/tests.py
@@ -1596,7 +1596,7 @@ def test_dumpdata(self):
1596 1596
         new_io = StringIO()
1597 1597
         management.call_command('dumpdata', 'auth', format='json', database='other', stdout=new_io)
1598 1598
         command_output = new_io.getvalue().strip()
1599  
-        self.assertTrue('"email": "alice@example.com",' in command_output)
  1599
+        self.assertTrue('"email": "alice@example.com"' in command_output)
1600 1600
 
1601 1601
 
1602 1602
 @override_settings(AUTH_PROFILE_MODULE='multiple_database.UserProfile')

0 notes on commit e8f07f0

Please sign in to comment.
Something went wrong with that request. Please try again.