mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Fixed #23995 -- Removed unnecessary calls to self.client.logout() in tests.
This commit is contained in:
parent
2cb9d984cf
commit
ca013e652f
5 changed files with 0 additions and 124 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue