diff options
author | Diego GuimarĂ£es <diegobr.sistemas@gmail.com> | 2014-12-16 09:10:10 -0500 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2014-12-16 09:12:46 -0500 |
commit | ca013e652f912e279c128d4d2631eaa3b02e4db7 (patch) | |
tree | 297446cf4fc64e27397cab4b6016e18b52b84369 /tests/admin_custom_urls | |
parent | 2cb9d984cf7a0965ca6b1322ab836d56278f8749 (diff) | |
download | django-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.py | 6 |
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 |