cinder/cinder/tests/unit/api
Cory Stone 010d4a23b7 Fix dynamic import of CONF.volume_api_class
Modifies the import to actually happen when API() is called instead of
when the module is loaded.

This is necessary because CONF.volume_api_class is always evaluated as
the default value since the config file hadn't been parsed yet when the
module is loaded.

Nova fixed this problem a while ago for the compute driver in
https://review.openstack.org/#/c/14353/.

Change-Id: I4c3d6b4300298ad0ac4e40a7a1a815cbf88bb151
Closes-Bug: #1543219
2016-02-12 10:50:31 -06:00
..
contrib Fix dynamic import of CONF.volume_api_class 2016-02-12 10:50:31 -06:00
extensions Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
middleware Convert Retry-After header parameter value to string 2015-10-05 15:24:28 +03:00
openstack Port WSGI tests to Python 3 2015-10-13 18:25:51 +00:00
v1 Fix dynamic import of CONF.volume_api_class 2016-02-12 10:50:31 -06:00
v2 Fix dynamic import of CONF.volume_api_class 2016-02-12 10:50:31 -06:00
__init__.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
common.py Move unit tests into dedicated directory 2015-04-21 18:40:40 -06:00
fakes.py Remove eventlet WSGI functionality 2015-12-11 21:23:48 +00:00
test_common.py Port API to Python 3 2015-10-14 22:17:26 +02:00
test_extensions.py Port API to Python 3 2015-10-14 22:17:26 +02:00
test_router.py Fix order of arguments in assertEqual 2015-08-03 19:26:08 -07:00
test_versions.py Fix wrong response with version details 2015-05-27 08:13:34 +08:00
test_xmlutil.py Port API to Python 3 2015-10-14 22:17:26 +02:00