← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1703245] [NEW] Assignment API doesn't test GET for member urls

 

Public bug reported:

The assignment API implements HEAD for all GET operations [0]. The unit
tests for the assignment API never test that GET actually works with the
member_url, only the collection_url [1].

This path should be tested.

[0] https://github.com/openstack/keystone/blob/805b42ac4eaf47be76128f3a0fd89b878860f1ad/keystone/assignment/routers.py#L112
[1] https://github.com/openstack/keystone/blob/805b42ac4eaf47be76128f3a0fd89b878860f1ad/keystone/tests/unit/test_v3_assignment.py#L101-L130

** Affects: keystone
     Importance: Undecided
         Status: New


** Tags: low-hanging-fruit office-hours test-improvement

** Tags added: low-hanging-fruit office-hours test-improvement

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1703245

Title:
  Assignment API doesn't test GET for member urls

Status in OpenStack Identity (keystone):
  New

Bug description:
  The assignment API implements HEAD for all GET operations [0]. The
  unit tests for the assignment API never test that GET actually works
  with the member_url, only the collection_url [1].

  This path should be tested.

  [0] https://github.com/openstack/keystone/blob/805b42ac4eaf47be76128f3a0fd89b878860f1ad/keystone/assignment/routers.py#L112
  [1] https://github.com/openstack/keystone/blob/805b42ac4eaf47be76128f3a0fd89b878860f1ad/keystone/tests/unit/test_v3_assignment.py#L101-L130

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


Follow ups