← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1829574] [NEW] Refactor API protection tests

 

Public bug reported:

There is a lot of repetition in the protection unit tests, which hinders
reusability and may be slowing down the tests. At a minimum, a lot of
the test setup work can be moved out of setUp() and into setUpClass()
which should avoid some unnecessary churn during the test runs. There
may be other cleanup steps we can implement.

** Affects: keystone
     Importance: Low
         Status: Triaged


** Tags: policy 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/1829574

Title:
  Refactor API protection tests

Status in OpenStack Identity (keystone):
  Triaged

Bug description:
  There is a lot of repetition in the protection unit tests, which
  hinders reusability and may be slowing down the tests. At a minimum, a
  lot of the test setup work can be moved out of setUp() and into
  setUpClass() which should avoid some unnecessary churn during the test
  runs. There may be other cleanup steps we can implement.

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