Comment 11 for bug 1521772

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystone (stable/liberty)

Reviewed: https://review.openstack.org/265177
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=be3160d165c28657534974d5ad9dbebc4254604d
Submitter: Jenkins
Branch: stable/liberty

commit be3160d165c28657534974d5ad9dbebc4254604d
Author: Ankit Agrawal <email address hidden>
Date: Thu Jan 7 05:29:06 2016 -0800

    Expose defect in users_in_group, groups_for_user exact filters

    List users in a group by name and list groups for user by name throws
    HTTP 500 error in case of exact filters because filter_by query used
    in case of exact filter is not able to filter using 'name' attribute.
    This patch exposes this issue by adding new unit test cases to ensure
    list_users_in_group and list_groups_for_user APIs are called with
    exact filters.

    Note: Added 'from keystone.tests.unit.utils import wip' in
    test_backend_ldap.py, because 'wip' is not there in
    test_backend_ldap imports in stable-liberty.

    Conflicts:
            keystone/tests/unit/test_backend.py

    Partial-Bug: 1521772
    Change-Id: I5d3c2041551a020341a98554ebb885888ec3cc9d
    (cherry picked from commit 545987e1c4d451832b2d6c069874a11ae0bc6347)