Removing unneeded tearDown code.
This commit is contained in:
parent
44164c5c30
commit
5a6a4249f3
|
@ -368,10 +368,6 @@ class ProxyModelAdminTests(TestCase):
|
|||
management.call_command('loaddata', 'myhorses.json', verbosity=0,
|
||||
commit=False)
|
||||
|
||||
def tearDown(self):
|
||||
TrackerUser.objects.all().delete()
|
||||
Issue.objects.all().delete()
|
||||
|
||||
def test_cascade_delete_proxy_model_admin_warning(self):
|
||||
"""
|
||||
Test if admin gives warning about cascade deleting models referenced
|
||||
|
|
Loading…
Reference in New Issue