mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-17 17:17:35 +08:00
fix: run testcases by folder path
This commit is contained in:
@@ -52,7 +52,7 @@ class TaskSuite(unittest.TestSuite):
|
||||
self.suite_list = []
|
||||
testsets = testcase.load_testcases_by_path(testcase_path)
|
||||
if not testsets:
|
||||
raise exception.FileNotFoundError
|
||||
raise exception.TestcaseNotFound
|
||||
|
||||
for testset in testsets:
|
||||
suite = ApiTestSuite(testset)
|
||||
|
||||
Reference in New Issue
Block a user