Removing unneeded tearDown code.

This commit is contained in:
Honza Kral 2013-02-24 12:31:00 +01:00
parent 44164c5c30
commit 5a6a4249f3
1 changed files with 0 additions and 4 deletions

View File

@ -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