From 5a6a4249f3a6b16ca93ce436017d02433f6ec47f Mon Sep 17 00:00:00 2001 From: Honza Kral Date: Sun, 24 Feb 2013 12:31:00 +0100 Subject: [PATCH] Removing unneeded tearDown code. --- tests/modeltests/proxy_models/tests.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/modeltests/proxy_models/tests.py b/tests/modeltests/proxy_models/tests.py index c0b67c29d1d..782ef7492e7 100644 --- a/tests/modeltests/proxy_models/tests.py +++ b/tests/modeltests/proxy_models/tests.py @@ -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