Commit 509798ae authored by Carl Meyer's avatar Carl Meyer
Browse files

Use built-in fixture support rather than calling loaddata in setUp().

parent 86b96038
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -364,9 +364,7 @@ class ProxyModelTests(TestCase):


class ProxyModelAdminTests(TestCase):
    def setUp(self):
        management.call_command('loaddata', 'myhorses.json', verbosity=0,
            commit=False)
    fixtures = ['myhorses']

    def test_cascade_delete_proxy_model_admin_warning(self):
        """