diff options
author | wu.zhihui <wu.zhihui1@zte.com.cn> | 2016-11-07 17:02:04 +0800 |
---|---|---|
committer | wu.zhihui <wu.zhihui1@zte.com.cn> | 2016-11-07 17:02:04 +0800 |
commit | 6105c711e5d83d30b5733e7fec49d29a91520c26 (patch) | |
tree | 9a46c06d938f26bd82e93ea3a00038be53d6db7c /func/cli.py | |
parent | c7761e0760aaacb801478308b6774dccb33cbf2e (diff) |
rename test_cases/ to test_plan/
JIRA: QTIP-131
Change-Id: I12c63b4f0ff0167073a0819bdb5d63ca0c6f06fb
Signed-off-by: wu.zhihui <wu.zhihui1@zte.com.cn>
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: |