Commit 5e063319 authored by Lorenz Steinert's avatar Lorenz Steinert

moved some stuff around

parent 2d61a116
......@@ -39,6 +39,10 @@ class FsrLdapTest(unittest.TestCase):
self.assertEqual(self.test_ldap_server.get_fsr_ldap(self.sharedir, testing=True),
['testing test1', 'testing test2', 'testing test3'])
def test_get_fsr_extern_ldap(self):
self.assertEqual(self.test_ldap_server.get_fsr_extern_ldap(self.sharedir, testing=True),
['testing test4', 'testing test5', 'testing test6'])
def test_get_fsr_ldap_no_server(self):
self.test_ldap_server.server = ""
self.assertEqual(self.test_ldap_server.get_fsr_ldap(self.sharedir, testing=True),
......@@ -49,11 +53,6 @@ class FsrLdapTest(unittest.TestCase):
self.assertEqual(self.test_ldap_server.get_fsr_extern_ldap(self.sharedir, testing=True),
[])
def test_get_fsr_extern_ldap(self):
self.assertEqual(self.test_ldap_server.get_fsr_extern_ldap(self.sharedir, testing=True),
['testing test4', 'testing test5', 'testing test6'])
def tearDown(self):
os.remove("/tmp/python3-esme-testing/fsr")
os.remove("/tmp/python3-esme-testing/fsr_extern")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment