yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #40024
[Bug 1505374] Re: Unit tests failing with oslo.policy 0.12.0
** Also affects: manila
Importance: Undecided
Status: New
** Changed in: manila
Milestone: None => mitaka-1
** Changed in: manila
Importance: Undecided => Critical
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1505374
Title:
Unit tests failing with oslo.policy 0.12.0
Status in Keystone:
In Progress
Status in Manila:
In Progress
Bug description:
oslo.policy 0.12.0 was released recently, and this caused a couple keystone unit tests to fail. The new release has a change to use requests rather than urllib, and keystone's unit tests were assuming that oslo.policy was implemented using urllib (by mocking the response).
failing tests:
keystone.tests.unit.test_policy.PolicyTestCase.test_enforce_http_true
keystone.tests.unit.test_policy.PolicyTestCase.test_enforce_http_false
Keystone doesn't need to test these internal implementation details of
oslo.policy, let's just assume it works as designed and they have
their own tests.
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1505374/+subscriptions
References