Refactor API unit tests to use flask test_client

Bug #1829573 reported by Colleen Murphy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
In Progress
Low
Unassigned

Bug Description

Now that our WSGI dispatching and API routing has been rewritten using Flask, we can take advantage of Flask's test_client context manager to simplify our unit testing.

An example conversion has already been done:

https://review.opendev.org/630301

The rest of the test_v3_* tests can be converted the same way.

Colleen Murphy (krinkle)
Changed in keystone:
importance: Undecided → Low
Changed in keystone:
assignee: nobody → Colleen Murphy (krinkle)
status: Triaged → In Progress
Colleen Murphy (krinkle)
Changed in keystone:
assignee: Colleen Murphy (krinkle) → nobody
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on keystone (master)

Change abandoned by "Gage Hugo <email address hidden>" on branch: master
Review: https://review.opendev.org/c/openstack/keystone/+/640692
Reason: Abandoning since there hasn't been any recent activity, if anyone wants to continue this work, please feel free to restore this or create a new change.

Changed in keystone:
assignee: nobody → Rodolfo Olivieri (rolivier)
Changed in keystone:
assignee: Rodolfo Olivieri (rolivier) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.