mirror of
https://gitee.com/openharmony/testfwk_xdevice
synced 2024-11-30 11:00:37 +00:00
修复用例总数收集异常的bug
Signed-off-by: deveco_test <liguangjie1@huawei.com>
This commit is contained in:
parent
08c8a38512
commit
679105ae3b
@ -1223,7 +1223,7 @@ class OHJSUnitTestListParser(IParser):
|
||||
if "{" in line or "}" in line:
|
||||
self.json_str = "%s%s" % (self.json_str, line)
|
||||
return
|
||||
if "user test finished." in line:
|
||||
if "dry run finished" in line:
|
||||
suite_dict_list = json.loads(self.json_str).get("suites", [])
|
||||
for suite_dict in suite_dict_list:
|
||||
for class_name, test_name_dict_list in suite_dict.items():
|
||||
|
Loading…
Reference in New Issue
Block a user