From 509798ae069064181e3d70d155812cbe02331490 Mon Sep 17 00:00:00 2001 From: Carl Meyer Date: Mon, 25 Feb 2013 12:13:10 -0700 Subject: [PATCH] Use built-in fixture support rather than calling loaddata in setUp(). --- tests/modeltests/proxy_models/tests.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/modeltests/proxy_models/tests.py b/tests/modeltests/proxy_models/tests.py index 782ef7492e..77d2ba9a74 100644 --- a/tests/modeltests/proxy_models/tests.py +++ b/tests/modeltests/proxy_models/tests.py @@ -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): """