diff options
author | romakudlakov <romakudlakov@yandex-team.com> | 2023-02-10 19:15:51 +0300 |
---|---|---|
committer | romakudlakov <romakudlakov@yandex-team.com> | 2023-02-10 19:15:51 +0300 |
commit | 28a5200bef81ddac9e4b91d65c580843c2bb2928 (patch) | |
tree | 0830648af3a3184d5e4bc729b4f1252aaf16d7db /library/python | |
parent | 7808d9d2fc3dd3eac19c3090b605986a73bd5921 (diff) | |
download | ydb-28a5200bef81ddac9e4b91d65c580843c2bb2928.tar.gz |
Refactor library/python/pytest and library/python/testing
Remove test-started/test-finished events generator in pytest_runner
Diffstat (limited to 'library/python')
-rw-r--r-- | library/python/pytest/plugins/ya.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/library/python/pytest/plugins/ya.py b/library/python/pytest/plugins/ya.py index e849d18bb8..fae59f74d8 100644 --- a/library/python/pytest/plugins/ya.py +++ b/library/python/pytest/plugins/ya.py @@ -810,11 +810,9 @@ class TraceReportGenerator(object): pytest_config.ya.set_test_item_node_id(test_item.nodeid) class_name = test_item.class_name.decode('utf-8') if sys.version_info[0] < 3 else test_item.class_name self._current_test = (class_name, None) - self.trace('test-started', {'class': class_name}) def on_finish_test_class(self, test_item): pytest_config.ya.set_test_item_node_id(test_item.nodeid) - self.trace('test-finished', {'class': test_item.class_name.decode('utf-8') if sys.version_info[0] < 3 else test_item.class_name}) def on_start_test_case(self, test_item): class_name = yatest_lib.tools.to_utf8(test_item.class_name) |