← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1829573] [NEW] Refactor API unit tests to use flask test_client

 

Public bug reported:

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.

** Affects: keystone
     Importance: Low
     Assignee: Colleen Murphy (krinkle)
         Status: In Progress


** Tags: test-improvement

** Changed in: keystone
   Importance: Undecided => Low

-- 
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/1829573

Title:
  Refactor API unit tests to use flask test_client

Status in OpenStack Identity (keystone):
  In Progress

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.

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