diff --git a/plugins/ohos/src/ohos/parser/parser.py b/plugins/ohos/src/ohos/parser/parser.py index e2d9368c1eb5e6d9f2b6382da9debf7058ea14f7..1b127d0cc32ff60017321db7c241ece8d8cf5673 100644 --- a/plugins/ohos/src/ohos/parser/parser.py +++ b/plugins/ohos/src/ohos/parser/parser.py @@ -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():