Merge "Enable limiting in ldap for groups"
This commit is contained in:
@@ -394,4 +394,4 @@ class GroupApi(common_ldap.BaseLdap):
|
||||
def get_all_filtered(self, hints, query=None):
|
||||
query = self.filter_query(hints, query)
|
||||
return [common_ldap.filter_entity(group)
|
||||
for group in self.get_all(query)]
|
||||
for group in self.get_all(query, hints)]
|
||||
|
@@ -2038,10 +2038,6 @@ class LDAPLimitTests(unit.TestCase, test_backend.LimitTests):
|
||||
config_files.append(unit.dirs.tests_conf('backend_ldap.conf'))
|
||||
return config_files
|
||||
|
||||
@wip("limiting doesn't work due to bug 1501698")
|
||||
def test_list_groups_filtered_and_limited(self):
|
||||
self._test_list_entity_filtered_and_limited('group')
|
||||
|
||||
def test_list_projects_filtered_and_limited(self):
|
||||
self.skipTest("ldap for storing projects is deprecated")
|
||||
|
||||
|
Reference in New Issue
Block a user