From 8429a1f29d3eaa25236c6bbf0c889d29742cb9e5 Mon Sep 17 00:00:00 2001 From: omkarkhatavkar Date: Thu, 4 Jan 2024 18:39:41 +0530 Subject: [PATCH] adding the missing properties --- pytest_plugins/metadata_markers.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pytest_plugins/metadata_markers.py b/pytest_plugins/metadata_markers.py index 311628a8962..aa5421e5e81 100644 --- a/pytest_plugins/metadata_markers.py +++ b/pytest_plugins/metadata_markers.py @@ -119,6 +119,7 @@ def pytest_collection_modifyitems(items, config): markers_prop_data = [] exclude_markers = ['parametrize', 'skipif', 'usefixtures', 'skip_if_not_set'] for marker in item.iter_markers(): + item.user_properties.append((marker.name, next(iter(marker.args), None))) prop = marker.name if prop in exclude_markers: continue