aboutsummaryrefslogtreecommitdiffstats
path: root/func/cli.py
diff options
context:
space:
mode:
authorzhihui wu <wu.zhihui1@zte.com.cn>2016-11-08 10:06:33 +0000
committerGerrit Code Review <gerrit@opnfv.org>2016-11-08 10:06:33 +0000
commitaa374b2bac23a89442ef59f3757d40cdf66c3814 (patch)
treedb070ceb0a85ee0cd20f1ac4f43d6cff7567d870 /func/cli.py
parent3dff5b4dc848147235120f7befd5b5de29461846 (diff)
parent6105c711e5d83d30b5733e7fec49d29a91520c26 (diff)
Merge "rename test_cases/ to test_plan/"
Diffstat (limited to 'func/cli.py')
-rw-r--r--func/cli.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/func/cli.py b/func/cli.py
index c5f5d2b7..17f0bde7 100644
--- a/func/cli.py
+++ b/func/cli.py
@@ -23,7 +23,7 @@ class Cli:
parser = argparse.ArgumentParser()
parser.add_argument('-l ', '--lab', required=True, help='Name of Lab '
'on which being tested, These can'
- 'be found in the test_cases/ directory. Please '
+ 'be found in the test_plan/ directory. Please '
'ensure that you have edited the respective files '
'before using them. For testing other than through Jenkins'
' The user should list default after -l . all the fields in'
@@ -49,12 +49,12 @@ class Cli:
sys.exit(1)
if not args_handler.check_lab_name(args.lab):
- logger.error("You have specified a lab that is not present under test_cases/.\
+ logger.error("You have specified a lab that is not present under test_plan/.\
Please enter correct file. If unsure how to proceed, use -l default.")
sys.exit(1)
suite = args.file
benchmarks = args_handler.get_files_in_suite(suite)
- test_cases = args_handler.get_files_in_test_case(args.lab, suite)
+ test_cases = args_handler.get_files_in_test_plan(args.lab, suite)
benchmarks_list = filter(lambda x: x in test_cases, benchmarks)
if args.benchmark: