diff options
Diffstat (limited to 'okupy/tests/unit/test_signup.py')
-rw-r--r-- | okupy/tests/unit/test_signup.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/okupy/tests/unit/test_signup.py b/okupy/tests/unit/test_signup.py index c0ca1ea..dc43c74 100644 --- a/okupy/tests/unit/test_signup.py +++ b/okupy/tests/unit/test_signup.py @@ -21,6 +21,10 @@ class SignupUnitTests(OkupyTestCase): 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] |