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:
parent
188a241880
commit
33b1635a90
2
tests/fixtures/tests.py
vendored
2
tests/fixtures/tests.py
vendored
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user