aboutsummaryrefslogtreecommitdiffstats
path: root/cli
diff options
context:
space:
mode:
authorvitikkan <viktor.tikkanen@nokia.com>2016-07-07 14:23:20 +0300
committerJose Lausuch <jose.lausuch@ericsson.com>2016-07-07 12:13:18 +0000
commitaa49985bda6e5a9935973c90aa13bda40eada399 (patch)
treea8876f63fece16a2d7e3e52ca68c76ae557adca1 /cli
parent627aed69c99bf0c3f8a0ffd4268cef74da956953 (diff)
Added 'vacation' test case
Running this test case illustrates how Functest code base and performance tend to grow when trying to catch more and more bugs in OPNFV environment. The case is not bound to any tier. Change-Id: Ib3c2f3f3d9d78c1251fbb35e6ea6afd3cf1afbdb Signed-off-by: vitikkan <viktor.tikkanen@nokia.com>
Diffstat (limited to 'cli')
-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 d8557b962..5d546a216 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: