Преглед на файлове

Ticket 47714 - CI test: add test case for ticket 47714

Description: clean up the unused local method.
Noriko Hosoi преди 11 години
родител
ревизия
65216aba18
променени са 1 файла, в които са добавени 0 реда и са изтрити 15 реда
  1. 0 15
      dirsrvtests/tickets/ticket47714_test.py

+ 0 - 15
dirsrvtests/tickets/ticket47714_test.py

@@ -135,19 +135,6 @@ def _header(topology, label):
     topology.standalone.log.info("#######")
     topology.standalone.log.info("###############################################")
 
-def _uniqueness_config_entry(topology, name=None):
-    if not name:
-        return None
-    
-    ent = topology.standalone.getEntry("cn=%s,%s" % (PLUGIN_ATTR_UNIQUENESS, DN_PLUGIN), ldap.SCOPE_BASE, 
-                                    "(objectclass=nsSlapdPlugin)",
-                                    ['objectClass', 'cn', 'nsslapd-pluginPath', 'nsslapd-pluginInitfunc',
-                                     'nsslapd-pluginType', 'nsslapd-pluginEnabled', 'nsslapd-plugin-depends-on-type',
-                                     'nsslapd-pluginId', 'nsslapd-pluginVersion', 'nsslapd-pluginVendor',
-                                     'nsslapd-pluginDescription'])
-    ent.dn = "cn=%s uniqueness,%s" % (name, DN_PLUGIN)
-    return ent
-
 def test_ticket47714_init(topology):
     """
     1. Add account policy entry to the DB    
@@ -169,8 +156,6 @@ def test_ticket47714_init(topology):
                                                     'userPassword': TEST_USER_PW,
                                                     'acctPolicySubentry': ACCT_POLICY_DN})))
 
-    log.info("\n######################### Adding cos entry ######################\n")
-
 def test_ticket47714_run_0(topology):
     """
     Check this change has no inpact to the existing functionality.