The auth_token tests were failing randomly (depending on which tests
were run together) because the global config had options left in it
by other tests (options were added as part of auth plugin
initialization and oslo.config provides no way to remove registered
options).
This change makes it so that auth_token gets a fresh config for
every test (other than one test that requires using the global CONF
object).
Reviewed: https:/ /review. openstack. org/223338 /git.openstack. org/cgit/ openstack/ keystonemiddlew are/commit/ ?id=5352ff068dc 0466b3a376e8025 12c2065c130455
Committed: https:/
Submitter: Jenkins
Branch: master
commit 5352ff068dc0466 b3a376e802512c2 065c130455
Author: Brant Knudson <email address hidden>
Date: Mon Sep 14 18:18:32 2015 -0500
auth_token tests use clean config
The auth_token tests were failing randomly (depending on which tests
were run together) because the global config had options left in it
by other tests (options were added as part of auth plugin
initialization and oslo.config provides no way to remove registered
options).
This change makes it so that auth_token gets a fresh config for
every test (other than one test that requires using the global CONF
object).
Closes-Bug: 1494327 619f4a5d12a4e71 897423469c1
Change-Id: I647f7fade01e2a