diff --git a/tests/modeltests/fixtures/tests.py b/tests/modeltests/fixtures/tests.py index 8696ec2fb6..38d59f5a1c 100644 --- a/tests/modeltests/fixtures/tests.py +++ b/tests/modeltests/fixtures/tests.py @@ -230,7 +230,6 @@ class FixtureLoadingTests(TestCase): self._dumpdata_assert(['fixtures'], """ News StoriesLatest news storiesTime to reform copyright2006-06-16 13:00:00Poker has no place on ESPN2006-06-16 12:00:00Python program becomes self aware2006-06-16 11:00:00copyrightfixturesarticle3lawfixturesarticle3Django ReinhardtPrinceStephane Grappelli""", format='xml', natural_keys=True) -@skipIfDBEngine('django.db.backends.mysql') class FixtureTransactionTests(TransactionTestCase): def _dumpdata_assert(self, args, output, format='json'): new_io = StringIO.StringIO() @@ -238,6 +237,7 @@ class FixtureTransactionTests(TransactionTestCase): command_output = new_io.getvalue().strip() self.assertEqual(command_output, output) + @skipIfDBEngine('django.db.backends.mysql') def test_format_discovery(self): # Load fixture 1 again, using format discovery management.call_command('loaddata', 'fixture1', verbosity=0, commit=False)