summaryrefslogtreecommitdiff
path: root/keystonemiddleware/tests
diff options
context:
space:
mode:
authorJens Harbott <j.harbott@x-ion.de>2019-04-11 14:02:00 +0000
committerJens Harbott <j.harbott@x-ion.de>2019-06-03 10:34:25 +0000
commitf6037a3d50a80d8c2e0044c8f72d23dddb0d7203 (patch)
treeebac772d124f759a61af7b23fd9af9b5c84d4250 /keystonemiddleware/tests
parentdd43941a7e028635c7837edd50883034aa9d5f5f (diff)
downloadkeystonemiddleware-f6037a3d50a80d8c2e0044c8f72d23dddb0d7203.tar.gz
Add a new option to choose the Identity endpoint
Previously the admin Identity endpoint was hardcoded to be used. Now that keystone has dropped v2 support, deploying an admin Identity endpoint is no longer useful, so allow this to be changed by the deployer. Keep the default as using the `admin` endpoint, but create a deprecation message so that we can change the default in the future. Partial-Bug: 1830002 Change-Id: I993a45ccb1109d67e65bf32d1e134cc9bec2d88e
Diffstat (limited to 'keystonemiddleware/tests')
-rw-r--r--keystonemiddleware/tests/unit/test_opts.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/keystonemiddleware/tests/unit/test_opts.py b/keystonemiddleware/tests/unit/test_opts.py
index 3b4e510..143264c 100644
--- a/keystonemiddleware/tests/unit/test_opts.py
+++ b/keystonemiddleware/tests/unit/test_opts.py
@@ -33,6 +33,7 @@ class OptsTestCase(utils.TestCase):
expected_opt_names = [
'auth_admin_prefix',
'auth_host',
+ 'interface',
'auth_port',
'auth_protocol',
'www_authenticate_uri',
@@ -86,6 +87,7 @@ class OptsTestCase(utils.TestCase):
# This is the sample config generator list WITHOUT deprecations
expected_opt_names = [
'www_authenticate_uri',
+ 'interface',
'auth_uri',
'auth_version',
'delay_auth_decision',