← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1423470] Re: Enable to specify context when 'POST' request on unittest

 

** Changed in: neutron
       Status: Fix Committed => Fix Released

** Changed in: neutron
    Milestone: None => kilo-rc1

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

Title:
  Enable to specify context when 'POST' request on unittest

Status in OpenStack Neutron (virtual network service):
  Fix Released

Bug description:
  NeutronDbPluginV2TestCase has a method 'new_create_request'
  to send 'POST' request.  But, it doesn't have a argument 'context'.
  So, we can not execute create-test as a tenant-user(NOT admin user)

  e.g.  We can not execute following test:

      [create firewall test]
           user : tenant-user in tenantA (NOT admin user)
           specified_firewall_policy_id: firewall-policy-id which exists in tenantB ( shared=False)

           expected_result: 404 ( firewall_policy_id not found)

  This fix enables to specify 'context' when executing
  new_create_request.

  This fix is depended by
  https://bugs.launchpad.net/neutron/+bug/1407886

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


References