Code Review
/
functest-xtesting.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
d6c5f7e
)
Fix KeyError of OS_AUTH_URL
author
Linda Wang
<wangwulin@huawei.com>
Mon, 26 Feb 2018 07:18:11 +0000
(07:18 +0000)
committer
Linda Wang
<wangwulin@huawei.com>
Mon, 26 Feb 2018 09:36:23 +0000
(09:36 +0000)
Change-Id: Iaaa657ebb8ed017429b640ffaaf03b6d204e887a
Signed-off-by: Linda Wang <wangwulin@huawei.com>
functest/cli/commands/cli_os.py
patch
|
blob
|
history
diff --git
a/functest/cli/commands/cli_os.py
b/functest/cli/commands/cli_os.py
index
47d55c9
..
d3e229c
100644
(file)
--- a/
functest/cli/commands/cli_os.py
+++ b/
functest/cli/commands/cli_os.py
@@
-20,7
+20,7
@@
from functest.utils import constants
class OpenStack(object):
def __init__(self):
- self.os_auth_url = os.environ
['OS_AUTH_URL']
+ self.os_auth_url = os.environ
.get('OS_AUTH_URL', None)
self.endpoint_ip = None
self.endpoint_port = None
self.openstack_creds = constants.ENV_FILE