From 8b7bd62ae52313dbe96f27f21fbd63f0dd061744 Mon Sep 17 00:00:00 2001 From: Gagaro Date: Sat, 20 Jun 2015 19:07:06 +0200 Subject: [PATCH] Refs #24978 -- Amended test filename to avoid checkout warnings on Windows. --- ...with[special]chars*.json => fixture_with[special]chars.json} | 0 tests/fixtures/tests.py | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename tests/fixtures/fixtures/{fixture?with[special]chars*.json => fixture_with[special]chars.json} (100%) 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 7cbc3df088..ab86bb7b79 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):