def tearDown(self): try: ldap_delete_user('qminix') except: pass try: ldap_delete_group(self.group_cn) except: pass
def test_create_and_delete_group(self): creator = ldap_create_group("fizzy", self.group_description, self.group_display_name) assert_equal(creator, True) destroyer = ldap_delete_group("fizzy") assert_equal(destroyer, True)