change: format pytest case after all testcases generated

This commit is contained in:
debugtalk
2020-05-19 11:02:18 +08:00
parent c2ee26d5b5
commit 7ef1ca608c
2 changed files with 6 additions and 5 deletions

View File

@@ -31,7 +31,8 @@ def main_run(extra_args):
if len(tests_path_list) == 0:
# has not specified any testcase path
raise exceptions.ParamsError("Missed testcase path")
logger.error(f"No valid testcase path in cli arguments: {extra_args}")
sys.exit(1)
testcase_path_list = main_make(tests_path_list)
if not testcase_path_list: