mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-05 07:26:55 +08:00
fix: skip invalid testcase/testsuite yaml/json file
This commit is contained in:
+1
-3
@@ -413,9 +413,7 @@ def __make(tests_path: Text, ref_flag: bool = False) -> NoReturn:
|
|||||||
|
|
||||||
# invalid format
|
# invalid format
|
||||||
else:
|
else:
|
||||||
raise exceptions.FileFormatError(
|
logger.warning(f"skip invalid testcase/testsuite file: {test_file}")
|
||||||
f"test file is neither testcase nor testsuite: {test_file}"
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
def main_make(tests_paths: List[Text]) -> List[Text]:
|
def main_make(tests_paths: List[Text]) -> List[Text]:
|
||||||
|
|||||||
Reference in New Issue
Block a user