yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #20408
[Bug 1360113] Re: V2 hypervisors Unit Test tests hypervisors API as non Admin
** Changed in: nova
Status: Fix Committed => Fix Released
** Changed in: nova
Milestone: None => juno-3
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1360113
Title:
V2 hypervisors Unit Test tests hypervisors API as non Admin
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
hypervisors API are Admin API and unit tests should test those
accordingly. But All the V2 hypervisors Unit tests
(https://github.com/openstack/nova/blob/master/nova/tests/api/openstack/compute/contrib/test_hypervisors.py)
tests those as a non Admin API.
Issue is in fake_policy.py where V2 hypervisors API is not marked as
Admin role unlike V3.
https://github.com/openstack/nova/blob/master/nova/tests/fake_policy.py#L221
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1360113/+subscriptions
References