python-novaclient/novaclient/tests/unit
Andrey Kurilin 4393d90524 Check response headers for microversions
novaclient provides version negotiation on CLI layer. In case of usage
novaclient as a lib, user can specify api_version with microversion part
and can try communicate with Nova endpoint which doesn't support
microversions. Nova endpoint will not check X-OpenStack-Nova-API-Version
header and will execute request(it can be correct or not). It this case
we should warn user about his mistake and about "incorrect" response.

Change-Id: I7a5ab964b7b2b2a49cc80c22bf67ad5548afb30b
2015-11-23 20:13:13 +02:00
..
fixture_data Support the server side remote-console API changes 2015-10-22 10:14:13 -05:00
v2 Merge "Added command for device to cinder volume mapping" 2015-11-19 13:25:49 +00:00
__init__.py Move unit tests into unit test directory 2015-01-27 13:06:06 -08:00
fake_actions_module.py Implements 'microversions' api type - Part 2 2015-07-25 15:57:17 +08:00
fakes.py Move unit tests into unit test directory 2015-01-27 13:06:06 -08:00
idfake.pem Move unit tests into unit test directory 2015-01-27 13:06:06 -08:00
test_api_versions.py Check response headers for microversions 2015-11-23 20:13:13 +02:00
test_auth_plugins.py Do not check requirements when loading entry points 2015-05-27 18:08:02 +00:00
test_base.py Revert "nova flavor-show command is inconsistent" 2015-04-21 22:19:06 +00:00
test_client.py Revert "Do not expose exceptions from requests library" 2015-10-28 07:27:40 -07:00
test_discover.py Make _discover_extensions public 2015-05-06 14:10:59 +08:00
test_http.py Ensure the use of volume endpoint in volumes apis 2015-03-17 01:19:11 +00:00
test_service_catalog.py Move unit tests into unit test directory 2015-01-27 13:06:06 -08:00
test_shell.py Correct usage of API_MAX_VERSION and DEFAULT_OS_COMPUTE_API_VERSION 2015-10-21 11:07:32 +08:00
test_utils.py Improve hypervisor-show print list 2015-07-10 16:13:24 +02:00
utils.py Remove all imports from oslo namespace 2015-04-20 13:52:38 +03:00