glance/glance/tests/functional
Brian Rosmaita d3871a57b8 Fix Image API 'versions' response
Whether or not the v2.6 EXPERIMENTAL API is exposed at a site
depends on the enable_image_import config value.  If it's False
(the default), then the API a client sees is the CURRENT v2.5
API, and any of the v2.6 calls made against 2.5 return a 404
(same as if you were running Ocata).  This patch adjusts the
'versions' response so that when enable_image_import=False,
the EXPERIMENTAL v2.6 does not appear in the response.

Change-Id: Ibe164f02c99d10f5a5edd0de96c665413a12f700
Closes-bug: #1711829
2017-08-19 13:00:20 -04:00
..
db Add 'protected' filter to image-list call 2017-07-06 09:48:17 +08:00
v1 Fix and enable remaining v1 tests on py35. 2017-03-22 23:02:16 +00:00
v2 Add 'protected' filter to image-list call 2017-07-06 09:48:17 +08:00
__init__.py Fix Image API 'versions' response 2017-08-19 13:00:20 -04:00
store_utils.py Fix and enable remaining v1 tests on py35. 2017-03-22 23:02:16 +00:00
test_api.py Fix Image API 'versions' response 2017-08-19 13:00:20 -04:00
test_bin_glance_cache_manage.py Add external lock to image cache sqlite driver db init 2017-06-18 03:52:18 -04:00
test_cache_middleware.py Add external lock to image cache sqlite driver db init 2017-06-18 03:52:18 -04:00
test_client_exceptions.py Extracted HTTP response codes to constants in tests 2016-10-06 15:17:06 +00:00
test_client_redirects.py Python3: fix test_client_redirects.py 2016-12-01 17:42:12 +01:00
test_cors_middleware.py Extracted HTTP response codes to constants in tests 2016-10-06 15:17:06 +00:00
test_glance_manage.py Fix and enable two funcitonal tests on py35. 2017-03-23 21:58:49 +00:00
test_glance_replicator.py Python3: Fix glance.tests.functional.test_glance_replicator 2016-12-01 17:43:22 +01:00
test_gzip_middleware.py Fix assertEqual arguments order 2014-09-19 00:25:18 +08:00
test_healthcheck_middleware.py Python3: fix logs/glance.tests.functional.test_healthcheck_middleware 2016-12-01 17:43:22 +01:00
test_logging.py Fixed PY35 Jenkins Gate warnings 2017-05-27 09:02:31 +00:00
test_reload.py Clean up py35 env in tox.ini. 2017-05-09 22:54:59 +00:00
test_scrubber.py Remove unused parameter from 'stop_server' method 2017-06-30 12:43:20 +03:00
test_sqlite.py Rationalize test asserts 2015-07-09 13:48:49 +00:00
test_ssl.py Clean up py35 env in tox.ini. 2017-05-09 22:54:59 +00:00
test_wsgi.py Clean up py35 env in tox.ini. 2017-05-09 22:54:59 +00:00