示例#1
0
    def tearDown(self):
        try:
            ldap_delete_user('qminix')
        except:
            pass

        try:
            ldap_delete_group(self.group_cn)
        except:
            pass
示例#2
0
    def tearDown(self):
        try:
            ldap_delete_user('qminix')
        except:
            pass

        try:
            ldap_delete_group(self.group_cn)
        except:
            pass
示例#3
0
    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)
示例#4
0
    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)