Filtering (and limiting) list domains is not tested

Bug #1413276 reported by Henry Nash on 2015-01-21
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Low
Konstantin Maksimov

Bug Description

We test the filtering and limiting of lists in test_backend.py - and do this for projects, users and groups:

class LimitTests(filtering.FilterTests):
    ENTITIES = ['user', 'group', 'project']

We don't do this for domain, since this would have problems with LDAP. We should create a special test for this inside one of the LDAP specific multi-domain classes in test_backend_ldap.py.

Changed in keystone:
status: New → Triaged
Changed in keystone:
milestone: none → kilo-rc1
Changed in keystone:
milestone: kilo-rc1 → none
Changed in keystone:
assignee: nobody → Konstantin Maximov (konstantin-maximov)

Fix proposed to branch: master
Review: https://review.openstack.org/207456

Changed in keystone:
status: Triaged → In Progress
Changed in keystone:
assignee: Konstantin Maximov (konstantin-maximov) → Steve Martinelli (stevemar)
Changed in keystone:
assignee: Steve Martinelli (stevemar) → Konstantin Maximov (konstantin-maximov)
Steve Martinelli (stevemar) wrote :

unassigning due to inactivity

Changed in keystone:
assignee: Konstantin Maximov (konstantin-maximov) → nobody
Steve Martinelli (stevemar) wrote :

my mistake, there is an active patch ...

Changed in keystone:
assignee: nobody → Konstantin Maximov (konstantin-maximov)
Changed in keystone:
milestone: none → newton-1

Reviewed: https://review.openstack.org/207456
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=1ed8d3ac89a99ac523de3915f2c33870995be9c0
Submitter: Jenkins
Branch: master

commit 1ed8d3ac89a99ac523de3915f2c33870995be9c0
Author: Konstantin Maximov <email address hidden>
Date: Fri Mar 4 19:25:19 2016 +0300

    Add test for domains list filtering and limiting

    We test the filtering and limiting of projects, users and groups
    lists in test_backends.py, and we don't do this for domains.
    Created a special test for the filtering and limiting of domains
    list for SQL and LDAP multi-domain classes.

    Change-Id: I86094021e2e12e0c0ecf5e1745e0c66ecfb2f96e
    Closes-Bug: #1413276

Changed in keystone:
status: In Progress → Fix Released

This issue was fixed in the openstack/keystone 10.0.0.0b1 development milestone.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers