mirror of
https://github.com/django/django.git
synced 2025-01-27 10:39:40 +00:00
Use built-in fixture support rather than calling loaddata in setUp().
This commit is contained in:
parent
86b96038f2
commit
509798ae06
@ -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):
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user