Skip to content

Commit 446224a

Browse files
committed
removed unnecessary check of mark plug-in
1 parent c1f1569 commit 446224a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

pytest_reportportal/service.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,8 @@ def start_pytest_item(self, test_item=None):
108108
self.RP.start_test_item(**start_rq)
109109

110110
def _get_tags(self, item):
111-
# try to extract names of @pytest.mark.* decorators used for test item
111+
# Try to extract names of @pytest.mark.* decorators used for test item
112112
# and exclude those which present in rp_ignore_tags parameter
113-
mark_plugin = item.config.pluginmanager.getplugin('mark')
114-
if not mark_plugin:
115-
return []
116113
return [k for k in item.keywords if item.get_marker(k) is not None
117114
and k not in self.ignored_tags]
118115

0 commit comments

Comments
 (0)