aboutsummaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests/features/sdnvpn.py
diff options
context:
space:
mode:
Diffstat (limited to 'functest/opnfv_tests/features/sdnvpn.py')
-rw-r--r--functest/opnfv_tests/features/sdnvpn.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/functest/opnfv_tests/features/sdnvpn.py b/functest/opnfv_tests/features/sdnvpn.py
index 719d4fbf..567b5fbc 100644
--- a/functest/opnfv_tests/features/sdnvpn.py
+++ b/functest/opnfv_tests/features/sdnvpn.py
@@ -21,9 +21,8 @@ import functest.utils.functest_utils as ft_utils
class SdnVpnTests(TestCasesBase.TestCasesBase):
- SDNVPN_REPO = ft_constants.SDNVPN_REPO_DIR
- SDNVPN_REPO_TESTS = os.path.join(SDNVPN_REPO, "tests/functest")
- RESULTS_DIR = ft_constants.FUNCTEST_RESULTS_DIR
+ SDNVPN_REPO_TESTS = os.path.join(
+ ft_constants.SDNVPN_REPO_DIR, "tests/functest")
logger = ft_logger.Logger("sdnvpn").getLogger()
def __init__(self):
@@ -34,7 +33,8 @@ class SdnVpnTests(TestCasesBase.TestCasesBase):
def main(self, **kwargs):
os.chdir(self.SDNVPN_REPO_TESTS)
cmd = 'run_tests.py'
- log_file = os.path.join(self.RESULTS_DIR, "sdnvpn.log")
+ log_file = os.path.join(
+ ft_constants.FUNCTEST_RESULTS_DIR, "sdnvpn.log")
start_time = time.time()
ret = ft_utils.execute_command(cmd,