summaryrefslogtreecommitdiff
path: root/tests/admin_custom_urls
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/admin_custom_urls
parent2cb9d984cf7a0965ca6b1322ab836d56278f8749 (diff)
downloaddjango-ca013e652f912e279c128d4d2631eaa3b02e4db7.tar.gz
Fixed #23995 -- Removed unnecessary calls to self.client.logout() in tests.
Diffstat (limited to 'tests/admin_custom_urls')
-rw-r--r--tests/admin_custom_urls/tests.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/admin_custom_urls/tests.py b/tests/admin_custom_urls/tests.py
index edabb6eb78..d327b33407 100644
--- a/tests/admin_custom_urls/tests.py
+++ b/tests/admin_custom_urls/tests.py
@@ -22,9 +22,6 @@ class AdminCustomUrlsTest(TestCase):
def setUp(self):
self.client.login(username='super', password='secret')
- def tearDown(self):
- self.client.logout()
-
def test_basic_add_GET(self):
"""
Ensure GET on the add_view works.
@@ -91,9 +88,6 @@ class CustomRedirects(TestCase):
def setUp(self):
self.client.login(username='super', password='secret')
- def tearDown(self):
- self.client.logout()
-
def test_post_save_add_redirect(self):
"""
Ensures that ModelAdmin.response_post_save_add() controls the