From: Cedric Ollivier Date: Mon, 26 Feb 2018 16:50:36 +0000 (+0000) Subject: Merge "Stop raising keystoneauth1 exceptions in odl unit tests" X-Git-Tag: 0.2~11 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=00182139afbfa67541340d46e49d948d1f69840c;hp=d262b55a1e29b1202cd584f859d2d221d9addb8c;p=functest-xtesting.git Merge "Stop raising keystoneauth1 exceptions in odl unit tests" --- 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