mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-17 05:39:45 +08:00
refactor: pipeline
This commit is contained in:
@@ -39,7 +39,7 @@ def is_testcase(data_structure):
|
||||
if not isinstance(data_structure, dict):
|
||||
return False
|
||||
|
||||
if "name" not in data_structure or "teststeps" not in data_structure:
|
||||
if "teststeps" not in data_structure:
|
||||
return False
|
||||
|
||||
if not isinstance(data_structure["teststeps"], list):
|
||||
|
||||
Reference in New Issue
Block a user