diff options
author | zhihui wu <wu.zhihui1@zte.com.cn> | 2016-11-08 10:06:33 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2016-11-08 10:06:33 +0000 |
commit | aa374b2bac23a89442ef59f3757d40cdf66c3814 (patch) | |
tree | db070ceb0a85ee0cd20f1ac4f43d6cff7567d870 /func/cli.py | |
parent | 3dff5b4dc848147235120f7befd5b5de29461846 (diff) | |
parent | 6105c711e5d83d30b5733e7fec49d29a91520c26 (diff) |
Merge "rename test_cases/ to test_plan/"
Diffstat (limited to 'func/cli.py')
-rw-r--r-- | func/cli.py | 6 |
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: |