diff options
Diffstat (limited to 'okupy/tests/unit/test_secondary_password.py')
-rw-r--r-- | okupy/tests/unit/test_secondary_password.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/okupy/tests/unit/test_secondary_password.py b/okupy/tests/unit/test_secondary_password.py index 73b574b..62c9890 100644 --- a/okupy/tests/unit/test_secondary_password.py +++ b/okupy/tests/unit/test_secondary_password.py @@ -20,6 +20,10 @@ class SecondaryPassword(TestCase): def setUpClass(cls): cls.mockldap = MockLdap(vars.DIRECTORY) + @classmethod + def tearDownClass(cls): + del cls.mockldap + def setUp(self): self.mockldap.start() self.ldapobj = self.mockldap[settings.AUTH_LDAP_SERVER_URI] |