From ca013e652f912e279c128d4d2631eaa3b02e4db7 Mon Sep 17 00:00:00 2001 From: Diego GuimarĂ£es Date: Tue, 16 Dec 2014 09:10:10 -0500 Subject: Fixed #23995 -- Removed unnecessary calls to self.client.logout() in tests. --- tests/admin_custom_urls/tests.py | 6 ------ 1 file changed, 6 deletions(-) (limited to 'tests/admin_custom_urls') 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 -- cgit v1.3