1
0
mirror of https://github.com/django/django.git synced 2025-10-23 21:59:11 +00:00

Fixed #23995 -- Removed unnecessary calls to self.client.logout() in tests.

This commit is contained in:
Diego Guimarães
2014-12-16 09:10:10 -05:00
committed by Tim Graham
parent 2cb9d984cf
commit ca013e652f
5 changed files with 0 additions and 124 deletions

View File

@@ -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