fix: run testcases by folder path

This commit is contained in:
debugtalk
2017-11-02 15:08:59 +08:00
parent 9d50b1635c
commit c9ed952a44
4 changed files with 21 additions and 13 deletions

View File

@@ -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)