From ae227cfce848c48edd598b3af0d2568a4e81d450 Mon Sep 17 00:00:00 2001 From: del-zhenwu <zhenxiang.li@zilliz.com> Date: Mon, 8 Mar 2021 14:53:16 +0800 Subject: [PATCH] Update stats tags in test cases Signed-off-by: del-zhenwu <zhenxiang.li@zilliz.com> --- tests/python_test/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/python_test/conftest.py b/tests/python_test/conftest.py index fabd9ced76..60de45ccd7 100644 --- a/tests/python_test/conftest.py +++ b/tests/python_test/conftest.py @@ -53,7 +53,7 @@ def pytest_runtestloop(session): res[item.fspath.basename]["total"] += 1 res["total_num"] += 1 for marker in item.own_markers: - if "0331" in marker.args: + if marker.name == "tags" and "0331" in marker.args: res["tags_num"] += 1 res[item.fspath.basename]["tags"] += 1 print(res)