aboutsummaryrefslogtreecommitdiffstats
path: root/cli/commands/cli_testcase.py
diff options
context:
space:
mode:
Diffstat (limited to 'cli/commands/cli_testcase.py')
-rw-r--r--cli/commands/cli_testcase.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/cli/commands/cli_testcase.py b/cli/commands/cli_testcase.py
index abf67d19..d1b24829 100644
--- a/cli/commands/cli_testcase.py
+++ b/cli/commands/cli_testcase.py
@@ -21,8 +21,6 @@ import yaml
with open(os.environ["CONFIG_FUNCTEST_YAML"]) as f:
functest_yaml = yaml.safe_load(f)
-REPOS_DIR = os.getenv('repos_dir')
-FUNCTEST_REPO = ("%s/functest/" % REPOS_DIR)
FUNCTEST_CONF_DIR = functest_yaml.get("general").get(
"directories").get("dir_functest_conf")
ENV_FILE = FUNCTEST_CONF_DIR + "/env_active"
@@ -33,7 +31,7 @@ class CliTestcase:
def __init__(self):
CI_INSTALLER_TYPE = os.getenv('INSTALLER_TYPE')
CI_SCENARIO = os.getenv('DEPLOY_SCENARIO')
- testcases = FUNCTEST_REPO + "/ci/testcases.yaml"
+ testcases = ft_utils.get_testcases_file()
self.tiers = tb.TierBuilder(CI_INSTALLER_TYPE, CI_SCENARIO, testcases)
def list(self):