diff options
Diffstat (limited to 'functest/core')
-rw-r--r-- | functest/core/vnf.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/functest/core/vnf.py b/functest/core/vnf.py index 05baf432..cf20492b 100644 --- a/functest/core/vnf.py +++ b/functest/core/vnf.py @@ -20,6 +20,7 @@ from snaps.openstack.create_project import OpenStackProject from snaps.openstack.tests import openstack_tests from functest.core import testcase +from functest.utils import constants __author__ = ("Morgan Richomme <morgan.richomme@orange.com>, " "Valentin Boucher <valentin.boucher@orange.com>") @@ -46,7 +47,6 @@ class VnfOnBoarding(testcase.TestCase): """Base model for VNF test cases.""" __logger = logging.getLogger(__name__) - env_file = "/home/opnfv/functest/conf/env_file" def __init__(self, **kwargs): super(VnfOnBoarding, self).__init__(**kwargs) @@ -110,7 +110,7 @@ class VnfOnBoarding(testcase.TestCase): "Prepare VNF: %s, description: %s", self.case_name, self.tenant_description) snaps_creds = openstack_tests.get_credentials( - os_env_file=self.env_file) + os_env_file=constants.ENV_FILE) self.os_project = OpenStackProject( snaps_creds, |