summaryrefslogtreecommitdiff
path: root/tests/generic_inline_admin
diff options
context:
space:
mode:
authorDiego GuimarĂ£es <diegobr.sistemas@gmail.com>2014-12-16 09:10:10 -0500
committerTim Graham <timograham@gmail.com>2014-12-16 09:12:46 -0500
commitca013e652f912e279c128d4d2631eaa3b02e4db7 (patch)
tree297446cf4fc64e27397cab4b6016e18b52b84369 /tests/generic_inline_admin
parent2cb9d984cf7a0965ca6b1322ab836d56278f8749 (diff)
downloaddjango-ca013e652f912e279c128d4d2631eaa3b02e4db7.tar.gz
Fixed #23995 -- Removed unnecessary calls to self.client.logout() in tests.
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 = {