diff options
author | Zhijiang Hu <hu.zhijiang@zte.com.cn> | 2017-11-18 04:57:29 -0500 |
---|---|---|
committer | Zhijiang Hu <hu.zhijiang@zte.com.cn> | 2017-11-18 05:05:21 -0500 |
commit | 318da268625f03a5de446fee9acedcda93188022 (patch) | |
tree | 60aaf727b768c12a9403c9d6c5c83b45b541a544 /tests/unit | |
parent | fd74e1b6163f475050be225356f60b84c874177e (diff) |
password auth module seems can not accept region_name as argument
Please see the error info at the end of [1].
[1] https://build.opnfv.org/ci/job/daisy-deploy-daily-master/815/console
Change-Id: I309fd858ea10a8821c95d66a27b7840a7f70151c
Signed-off-by: Zhijiang Hu <hu.zhijiang@zte.com.cn>
Diffstat (limited to 'tests/unit')
-rw-r--r-- | tests/unit/post/test_keystoneauth.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/unit/post/test_keystoneauth.py b/tests/unit/post/test_keystoneauth.py index 1a3021ee..7bedf9f1 100644 --- a/tests/unit/post/test_keystoneauth.py +++ b/tests/unit/post/test_keystoneauth.py @@ -32,7 +32,7 @@ def test_create_Keystoneauth_instance(openrc, expected): 'OS_PROJECT_DOMAIN_NAME': 'Default', 'OS_PROJECT_NAME': 'admin', 'OS_INTERFACE': 'internal', - 'OS_IDENTITY_API_VERSION': 'region_name' + 'OS_IDENTITY_API_VERSION': '3' }, { 'username': 'admin', @@ -52,8 +52,7 @@ def test_create_Keystoneauth_instance(openrc, expected): 'OS_USER_DOMAIN_NAME': 'Default', 'OS_PROJECT_DOMAIN_NAME': 'Default', 'OS_PROJECT_NAME': 'admin', - 'OS_ENDPOINT_TYPE': 'Default', - 'OS_REGION_NAME': 'Default' + 'OS_ENDPOINT_TYPE': 'Default' }, { 'username': 'admin', @@ -63,8 +62,7 @@ def test_create_Keystoneauth_instance(openrc, expected): 'user_domain_name': 'Default', 'project_domain_name': 'Default', 'project_name': 'admin', - 'endpoint_type': 'Default', - 'region_name': 'Default' + 'endpoint_type': 'Default' } )]) def test__parse_credentials_in_Keystoneauth(raws, expected): |