yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #37488
[Bug 1461183] Re: keystone/tests/unit/test_v3.py:RestfulTestCase.load_sample_data still uses the assignment_api
The assignment's add_role_to_user_and_project is not deprecated and can
be used by the tests. Once some of the assignment_api was deprecated
when the resource_api was created, not all of it.
** Changed in: keystone
Status: Triaged => Won't Fix
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1461183
Title:
keystone/tests/unit/test_v3.py:RestfulTestCase.load_sample_data still
uses the assignment_api
Status in Keystone:
Won't Fix
Bug description:
All test classes that inherit
keystone/tests/unit/test_v3.py:RestfulTestCase run a load_sample_data
method [0]. This method creates some sample data to test with and it
still uses the assignment API, which has been deprecated. This method
should be refactored to use the resource API instead.
[0] https://github.com/openstack/keystone/blob/f6c01dd1673b290578e9fff063e27104412ffeda/keystone/tests/unit/test_v3.py#L235-L240
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1461183/+subscriptions
References