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_widgets/tests.py | |
parent | 2cb9d984cf7a0965ca6b1322ab836d56278f8749 (diff) | |
download | django-ca013e652f912e279c128d4d2631eaa3b02e4db7.tar.gz |
Fixed #23995 -- Removed unnecessary calls to self.client.logout() in tests.
Diffstat (limited to 'tests/admin_widgets/tests.py')
-rw-r--r-- | tests/admin_widgets/tests.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/admin_widgets/tests.py b/tests/admin_widgets/tests.py index 3c610d5f72..3180dbcb9c 100644 --- a/tests/admin_widgets/tests.py +++ b/tests/admin_widgets/tests.py @@ -190,9 +190,6 @@ class AdminForeignKeyWidgetChangeList(DjangoTestCase): def setUp(self): self.client.login(username="super", password="secret") - def tearDown(self): - self.client.logout() - def test_changelist_ForeignKey(self): response = self.client.get('/admin_widgets/car/') self.assertContains(response, '/auth/user/add/') @@ -206,9 +203,6 @@ class AdminForeignKeyRawIdWidget(DjangoTestCase): def setUp(self): self.client.login(username="super", password="secret") - def tearDown(self): - self.client.logout() - def test_nonexistent_target_id(self): band = models.Band.objects.create(name='Bogey Blues') pk = band.pk |