diff options
author | Pavlos Ratis <dastergon@gentoo.org> | 2013-09-20 16:11:23 +0300 |
---|---|---|
committer | Pavlos Ratis <dastergon@gentoo.org> | 2013-09-20 16:11:23 +0300 |
commit | fba5fabffc64d4f97f960bbf9b4f53638c32ef2b (patch) | |
tree | f74536811c9ab6e44f241e9da6372a5c18df839e /okupy/tests/integration/test_login.py | |
parent | delete ldapobj after test execution (diff) | |
download | identity.gentoo.org-fba5fabffc64d4f97f960bbf9b4f53638c32ef2b.tar.gz identity.gentoo.org-fba5fabffc64d4f97f960bbf9b4f53638c32ef2b.tar.bz2 identity.gentoo.org-fba5fabffc64d4f97f960bbf9b4f53638c32ef2b.zip |
add tearDownClass
Diffstat (limited to 'okupy/tests/integration/test_login.py')
-rw-r--r-- | okupy/tests/integration/test_login.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/okupy/tests/integration/test_login.py b/okupy/tests/integration/test_login.py index a799cb0..378c2e9 100644 --- a/okupy/tests/integration/test_login.py +++ b/okupy/tests/integration/test_login.py @@ -23,6 +23,10 @@ class LoginIntegrationTests(TestCase): self.mockldap.stop() del self.ldapobj + @classmethod + def tearDownClass(cls): + del cls.mockldap + def test_login_page_uses_correct_template(self): response = self.client.get('/login/') self.assertTemplateUsed(response, 'base.html') |