From aa49985bda6e5a9935973c90aa13bda40eada399 Mon Sep 17 00:00:00 2001
From: vitikkan <viktor.tikkanen@nokia.com>
Date: Thu, 7 Jul 2016 14:23:20 +0300
Subject: 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>
---
 cli/commands/cli_testcase.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

(limited to 'cli')

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:
-- 
cgit