← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1503890] Re: test_policy assumes oslo.policy internal implementationd details

 

** Also affects: oslo.policy
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1503890

Title:
  test_policy assumes oslo.policy internal implementationd details

Status in neutron:
  In Progress
Status in oslo.policy:
  New

Bug description:
  Neutron assumes that oslo.policy uses urlrequest.urlopen()
  http://git.openstack.org/cgit/openstack/neutron/tree/neutron/tests/unit/test_policy.py#n108
  http://git.openstack.org/cgit/openstack/neutron/tree/neutron/tests/unit/test_policy.py#n121

  Unfortunately this assumption is bad as oslo.policy is now using requests.post()
  https://review.openstack.org/#/c/226122/

  So these 2 tests will fail when we release next oslo.policy version
  for Mitaka

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1503890/+subscriptions


References