1
0
mirror of https://github.com/django/django.git synced 2025-03-28 10:10:45 +00:00

Fixed fixtures tests failure on Python 2 with non-ASCII path.

This commit is contained in:
Tim Graham 2015-04-16 13:44:07 -04:00
parent 188a241880
commit 33b1635a90

View File

@ -345,7 +345,7 @@ class FixtureLoadingTests(DumpDataAssertMixin, TestCase):
def test_loaddata_verbosity_three(self):
output = six.StringIO()
management.call_command('loaddata', 'fixture1.json', verbosity=3, stdout=output, stderr=output)
command_output = output.getvalue()
command_output = force_text(output.getvalue())
self.assertIn(
"\rProcessed 1 object(s).\rProcessed 2 object(s)."
"\rProcessed 3 object(s).\rProcessed 4 object(s).\n",