keystoneauth/keystoneauth1/tests/unit/identity
Monty Taylor 106d91fb41
Cache root urls with and without trailing slashes
The trailng slash on a pathless url is not meaningful, but we were
treating the url given to the discovery cache as if it were. In some
circumstances, such as an endpoint_override that didn't match the
found discovery document perfectly, a double-request could be made.
Normalize root urls in the caching code so that https://example.com and
https://example.com/ would be the same.

Change-Id: I70a5911cf0f213a7816fe8d58c6cca4702ff71bb
2018-09-23 10:23:03 -05:00
..
__init__.py Move around the tests so they can be found easier 2015-09-02 19:24:34 -06:00
test_access.py Move around the tests so they can be found easier 2015-09-02 19:24:34 -06:00
test_identity_common.py Cache root urls with and without trailing slashes 2018-09-23 10:23:03 -05:00
test_identity_v2.py Allow saving and caching the plugin auth state 2015-11-16 16:10:33 +11:00
test_identity_v3.py Add support for application credentials 2018-01-18 13:16:54 +01:00
test_identity_v3_federation.py Add 303 as redirect code for k2k plugin 2016-04-25 18:53:19 -03:00
test_identity_v3_oidc.py oidc: implement client_credentials grant type 2016-07-20 09:59:05 +02:00
test_password.py Implement caching for the generic plugins. 2016-10-04 16:00:32 +11:00
test_token.py Implement caching for the generic plugins. 2016-10-04 16:00:32 +11:00
test_tokenless_auth.py Auth plugin for X.509 tokenless authentication 2016-07-05 17:11:36 -07:00
utils.py Include the auth_url in the discovery failure message 2017-02-24 10:30:41 -05:00