diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2012-12-24 11:25:58 +0100 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2012-12-24 11:25:58 +0100 |
| commit | e8f07f0378cef5a133028c502ff4064b91cd0611 (patch) | |
| tree | 7b1f1a0428699beb8b0976bb79cc057ee8b4aeba /tests/regressiontests/multiple_database/tests.py | |
| parent | 8bc410b44536e03ee38a0087256faf367dd98dd9 (diff) | |
Fixed a randomly failing test under Python 3.
Refs #17758.
Diffstat (limited to 'tests/regressiontests/multiple_database/tests.py')
| -rw-r--r-- | tests/regressiontests/multiple_database/tests.py | 2 |
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') |
