diff --git a/tests/fixtures/fixtures/fixture?with[special]chars*.json b/tests/fixtures/fixtures/fixture_with[special]chars.json similarity index 100% rename from tests/fixtures/fixtures/fixture?with[special]chars*.json rename to tests/fixtures/fixtures/fixture_with[special]chars.json diff --git a/tests/fixtures/tests.py b/tests/fixtures/tests.py index 7cbc3df088a..ab86bb7b799 100644 --- a/tests/fixtures/tests.py +++ b/tests/fixtures/tests.py @@ -228,7 +228,7 @@ class FixtureLoadingTests(DumpDataAssertMixin, TestCase): @unittest.skipIf(sys.platform.startswith('win'), "Windows doesn't support '?' in filenames.") def test_load_fixture_with_special_characters(self): - management.call_command('loaddata', 'fixture?with[special]chars*', verbosity=0) + management.call_command('loaddata', 'fixture_with[special]chars', verbosity=0) self.assertQuerysetEqual(Article.objects.all(), ['']) def test_dumpdata_with_filtering_manager(self):