aboutsummaryrefslogtreecommitdiffstats
path: root/cli/commands
diff options
context:
space:
mode:
Diffstat (limited to 'cli/commands')
-rw-r--r--cli/commands/cli_testcase.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/cli/commands/cli_testcase.py b/cli/commands/cli_testcase.py
index d8557b96..5d546a21 100644
--- a/cli/commands/cli_testcase.py
+++ b/cli/commands/cli_testcase.py
@@ -13,6 +13,7 @@ import yaml
import functest.ci.tier_builder as tb
import functest.utils.functest_utils as ft_utils
+import functest.utils.functest_vacation as vacation
""" global variables """
with open(os.environ["CONFIG_FUNCTEST_YAML"]) as f:
@@ -48,7 +49,9 @@ class CliTestcase:
click.echo(description)
def run(self, testname):
- if not os.path.isfile(ENV_FILE):
+ if testname == 'vacation':
+ vacation.main()
+ elif not os.path.isfile(ENV_FILE):
click.echo("Functest environment is not ready. "
"Run first 'functest env prepare'")
else: