summaryrefslogtreecommitdiff
path: root/os_client_config/tests/test_cloud_config.py
diff options
context:
space:
mode:
Diffstat (limited to 'os_client_config/tests/test_cloud_config.py')
-rw-r--r--os_client_config/tests/test_cloud_config.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/os_client_config/tests/test_cloud_config.py b/os_client_config/tests/test_cloud_config.py
index 6f960e6..ce724cb 100644
--- a/os_client_config/tests/test_cloud_config.py
+++ b/os_client_config/tests/test_cloud_config.py
@@ -163,6 +163,11 @@ class TestCloudConfig(base.TestCase):
cc.config['volume_api_version'] = '3'
self.assertEqual('volumev3', cc.get_service_type('volume'))
+ def test_workflow_override_v2(self):
+ cc = cloud_config.CloudConfig("test1", "region-al", fake_services_dict)
+ cc.config['workflow_api_version'] = '2'
+ self.assertEqual('workflowv2', cc.get_service_type('workflow'))
+
def test_get_session_no_auth(self):
config_dict = defaults.get_defaults()
config_dict.update(fake_services_dict)