X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=functest%2Fci%2Fcheck_deployment.py;h=a475491a15d0e2bf9fe2a4121038a198786a8f37;hb=979161874ba837f55a53aba391966c52433123e6;hp=8d19d8504f8a0624b4e1a1fae0cbe450977242b2;hpb=3a042e00c533dae47014842ed345da6b321f5eb9;p=functest.git diff --git a/functest/ci/check_deployment.py b/functest/ci/check_deployment.py index 8d19d8504..a475491a1 100644 --- a/functest/ci/check_deployment.py +++ b/functest/ci/check_deployment.py @@ -28,6 +28,7 @@ from snaps.openstack.utils import keystone_utils from snaps.openstack.utils import neutron_utils from snaps.openstack.utils import nova_utils +from functest.utils import constants from functest.opnfv_tests.openstack.snaps import snaps_utils __author__ = "Jose Lausuch " @@ -68,7 +69,7 @@ def get_auth_token(os_creds): class CheckDeployment(object): """ Check deployment class.""" - def __init__(self, rc_file='/home/opnfv/functest/conf/openstack.creds'): + def __init__(self, rc_file=constants.ENV_FILE): self.rc_file = rc_file self.services = ('compute', 'network', 'image') self.os_creds = None