summaryrefslogtreecommitdiff
path: root/tests/generic_inline_admin
diff options
context:
space:
mode:
Diffstat (limited to 'tests/generic_inline_admin')
-rw-r--r--tests/generic_inline_admin/tests.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/generic_inline_admin/tests.py b/tests/generic_inline_admin/tests.py
index 0d69757cd2..3e24168a29 100644
--- a/tests/generic_inline_admin/tests.py
+++ b/tests/generic_inline_admin/tests.py
@@ -41,9 +41,6 @@ class GenericAdminViewTest(TestCase):
m.save()
self.png_media_pk = m.pk
- def tearDown(self):
- self.client.logout()
-
def test_basic_add_GET(self):
"""
A smoke test to ensure GET on the add_view works.
@@ -137,9 +134,6 @@ class GenericInlineAdminParametersTest(TestCase):
self.client.login(username='super', password='secret')
self.factory = RequestFactory()
- def tearDown(self):
- self.client.logout()
-
def _create_object(self, model):
"""
Create a model with an attached Media object via GFK. We can't
@@ -286,9 +280,6 @@ class GenericInlineAdminWithUniqueTogetherTest(TestCase):
def setUp(self):
self.client.login(username='super', password='secret')
- def tearDown(self):
- self.client.logout()
-
def test_add(self):
category_id = Category.objects.create(name='male').pk
post_data = {