keystoneauth/keystoneauth1/tests/unit
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
..
access Implement service_type alias lookups 2018-05-03 15:28:50 -05:00
data Correct betamax fixture for more strict IDNA 2016-11-16 16:26:54 -08:00
exceptions Fix ClientException message property not set properly 2017-01-26 12:28:05 +00:00
extras Implement system scope 2018-01-17 15:50:11 +00:00
identity Cache root urls with and without trailing slashes 2018-09-23 10:23:03 -05:00
loading Add oslo.config option for split-loggers 2018-05-16 15:42:03 -05:00
__init__.py Move to the keystoneauth1 namespace 2015-06-25 16:48:54 -07:00
client_fixtures.py Refactor variables for fixture and service 2016-04-29 13:01:23 -05:00
k2k_fixtures.py Move to the keystoneauth1 namespace 2015-06-25 16:48:54 -07:00
keystoneauth_fixtures.py Address hacking check H405 2015-11-18 21:18:37 -08:00
matchers.py Fix H405, D105, D200, and D203 PEP257 2016-04-19 21:05:19 +00:00
oidc_fixtures.py oidc: add discovery document support 2016-07-14 10:19:10 +02:00
test_betamax_fixture.py Add pep8 import order validation 2018-02-15 20:07:04 +01:00
test_betamax_hooks.py Add pep8 import order validation 2018-02-15 20:07:04 +01:00
test_betamax_serializer.py Replace yaml.load() with yaml.safe_load() 2017-01-16 15:34:40 +07:00
test_discovery.py Protect against endpoint_data not existing 2018-09-11 16:18:40 -06:00
test_fixtures.py Replace six.iteritems() with .items() 2016-12-09 10:59:00 +08:00
test_hacking_checks.py Move to the keystoneauth1 namespace 2015-06-25 16:48:54 -07:00
test_matchers.py Use https for *.openstack.org references 2017-02-06 13:45:24 -08:00
test_noauth.py Make none auth usable in CLI 2017-10-27 18:46:14 +03:00
test_service_token.py Add a service token wrapper 2016-10-11 14:14:40 +11:00
test_session.py Change log hashing to SHA256 2018-08-17 12:35:47 -05:00
test_token_endpoint.py Add url as a deprecated alias for endpoint 2015-10-11 10:25:35 -04:00
test_utils.py Keep a consistent logger name for keystoneauth 2015-08-24 18:16:33 -07:00
utils.py Add ability to specify a microversion in a request 2017-07-19 02:51:49 +09:00