print warning message when no testcase found

This commit is contained in:
debugtalk
2018-03-21 14:21:50 +08:00
parent 8c618d2325
commit 8b7bbb4171
3 changed files with 5 additions and 1 deletions

View File

@@ -485,6 +485,9 @@ def load_test_file(file_path):
api_info.update(item["api"])
testset["api"][func_name] = api_info
else:
logger.log_warning("unexpected block: {}. block should only be config or test.".format(key))
return testset
def get_testinfo_by_reference(ref_name, ref_type):