keystoneauth/keystoneauth1/tests/unit
Jens Harbott 26cb0f6fcb Be more helpful when version discovery fails
Modify the error message for failed discovery in an attempt to better
help the user fixing the issue.

Include a reference to the actual exception that occured in the
error message. Add SSLError to the list of caught exceptions so that
we can log this case, too.

Add some unit tests to verify the handling of possible exceptions during
version discovery.

Change-Id: I9c26ab35d5515a937e016421e26e844212cb0bb3
Closes-Bug: 1749144
2018-03-21 09:17:01 +00:00
..
access Add pep8 import order validation 2018-02-15 20:07:04 +01: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 Be more helpful when version discovery fails 2018-03-21 09:17:01 +00:00
loading Merge "Add support for application credentials" 2018-01-19 22:45:45 +00: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 Add pep8 import order validation 2018-02-15 20:07:04 +01: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 Merge "Split request logging into four different loggers" 2018-02-15 21:14:28 +00: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