diff options
Diffstat (limited to 'okupy/tests/unit/test_index.py')
-rw-r--r-- | okupy/tests/unit/test_index.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/okupy/tests/unit/test_index.py b/okupy/tests/unit/test_index.py index 352a7ef..9f71230 100644 --- a/okupy/tests/unit/test_index.py +++ b/okupy/tests/unit/test_index.py @@ -16,6 +16,10 @@ class IndexUnitTests(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] |