aboutsummaryrefslogtreecommitdiffstats
path: root/functest/cli/commands/cli_os.py
diff options
context:
space:
mode:
Diffstat (limited to 'functest/cli/commands/cli_os.py')
-rw-r--r--functest/cli/commands/cli_os.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/functest/cli/commands/cli_os.py b/functest/cli/commands/cli_os.py
index 47d55c96..d3e229c8 100644
--- 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