pytest-plugins 0.4.4__tar.gz → 0.4.6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pytest_plugins-0.4.4/pytest_plugins.egg-info → pytest_plugins-0.4.6}/PKG-INFO +1 -1
- {pytest_plugins-0.4.4 → pytest_plugins-0.4.6}/pytest_plugins/better_report.py +7 -1
- {pytest_plugins-0.4.4 → pytest_plugins-0.4.6}/pytest_plugins/models/test_data.py +1 -1
- {pytest_plugins-0.4.4 → pytest_plugins-0.4.6/pytest_plugins.egg-info}/PKG-INFO +1 -1
- {pytest_plugins-0.4.4 → pytest_plugins-0.4.6}/setup.py +1 -1
- {pytest_plugins-0.4.4 → pytest_plugins-0.4.6}/LICENSE +0 -0
- {pytest_plugins-0.4.4 → pytest_plugins-0.4.6}/MANIFEST.in +0 -0
- {pytest_plugins-0.4.4 → pytest_plugins-0.4.6}/README.md +0 -0
- {pytest_plugins-0.4.4 → pytest_plugins-0.4.6}/pyproject.toml +0 -0
- {pytest_plugins-0.4.4 → pytest_plugins-0.4.6}/pytest_plugins/__init__.py +0 -0
- {pytest_plugins-0.4.4 → pytest_plugins-0.4.6}/pytest_plugins/add_config_parameters.py +0 -0
- {pytest_plugins-0.4.4 → pytest_plugins-0.4.6}/pytest_plugins/fail2skip.py +0 -0
- {pytest_plugins-0.4.4 → pytest_plugins-0.4.6}/pytest_plugins/max_fail_streak.py +0 -0
- {pytest_plugins-0.4.4 → pytest_plugins-0.4.6}/pytest_plugins/models/__init__.py +0 -0
- {pytest_plugins-0.4.4 → pytest_plugins-0.4.6}/pytest_plugins/models/base_class_test.py +0 -0
- {pytest_plugins-0.4.4 → pytest_plugins-0.4.6}/pytest_plugins/models/environment_data.py +0 -0
- {pytest_plugins-0.4.4 → pytest_plugins-0.4.6}/pytest_plugins/models/execution_data.py +0 -0
- {pytest_plugins-0.4.4 → pytest_plugins-0.4.6}/pytest_plugins/models/status.py +0 -0
- {pytest_plugins-0.4.4 → pytest_plugins-0.4.6}/pytest_plugins/utils/__init__.py +0 -0
- {pytest_plugins-0.4.4 → pytest_plugins-0.4.6}/pytest_plugins/utils/create_report.py +0 -0
- {pytest_plugins-0.4.4 → pytest_plugins-0.4.6}/pytest_plugins/utils/helper.py +0 -0
- {pytest_plugins-0.4.4 → pytest_plugins-0.4.6}/pytest_plugins/utils/pytest_helper.py +0 -0
- {pytest_plugins-0.4.4 → pytest_plugins-0.4.6}/pytest_plugins/verbose_param_ids.py +0 -0
- {pytest_plugins-0.4.4 → pytest_plugins-0.4.6}/pytest_plugins.egg-info/SOURCES.txt +0 -0
- {pytest_plugins-0.4.4 → pytest_plugins-0.4.6}/pytest_plugins.egg-info/dependency_links.txt +0 -0
- {pytest_plugins-0.4.4 → pytest_plugins-0.4.6}/pytest_plugins.egg-info/entry_points.txt +0 -0
- {pytest_plugins-0.4.4 → pytest_plugins-0.4.6}/pytest_plugins.egg-info/requires.txt +0 -0
- {pytest_plugins-0.4.4 → pytest_plugins-0.4.6}/pytest_plugins.egg-info/top_level.txt +0 -0
- {pytest_plugins-0.4.4 → pytest_plugins-0.4.6}/requirements.txt +0 -0
- {pytest_plugins-0.4.4 → pytest_plugins-0.4.6}/setup.cfg +0 -0
- {pytest_plugins-0.4.4 → pytest_plugins-0.4.6}/tests/test_dummy.py +0 -0
- {pytest_plugins-0.4.4 → pytest_plugins-0.4.6}/tests/test_dummy_regular.py +0 -0
|
@@ -152,6 +152,12 @@ def pytest_collection_modifyitems(config: Config, items: list[Function]) -> None
|
|
|
152
152
|
for item in items:
|
|
153
153
|
test_name = get_test_name_without_parameters(item=item)
|
|
154
154
|
test_full_name = get_test_full_name(item=item)
|
|
155
|
+
|
|
156
|
+
params = json.loads(
|
|
157
|
+
json.dumps(item.callspec.params, default=serialize_data)
|
|
158
|
+
) if getattr(item, 'callspec', None) else None
|
|
159
|
+
params_str = {k: str(v) for k, v in params.items()} if params else None
|
|
160
|
+
|
|
155
161
|
test_results[test_full_name] = TestData(
|
|
156
162
|
class_test_name=item.cls.__name__ if item.cls else None,
|
|
157
163
|
test_name=test_name,
|
|
@@ -159,7 +165,7 @@ def pytest_collection_modifyitems(config: Config, items: list[Function]) -> None
|
|
|
159
165
|
test_full_name=test_full_name,
|
|
160
166
|
test_full_path=get_test_full_path(item=item),
|
|
161
167
|
test_file_name=item.fspath.basename,
|
|
162
|
-
test_parameters=
|
|
168
|
+
test_parameters=params_str,
|
|
163
169
|
test_markers=[marker.name for marker in item.iter_markers() if not marker.args],
|
|
164
170
|
test_status=ExecutionStatus.COLLECTED,
|
|
165
171
|
test_start_time=None,
|
|
@@ -13,7 +13,7 @@ class TestData:
|
|
|
13
13
|
test_full_name: str
|
|
14
14
|
test_full_path: str
|
|
15
15
|
test_status: ExecutionStatus = ExecutionStatus.COLLECTED
|
|
16
|
-
test_parameters: Optional[dict] = None
|
|
16
|
+
test_parameters: Optional[dict[str, str]] = None
|
|
17
17
|
test_markers: Optional[list] = None
|
|
18
18
|
test_start_time: Optional[str] = None
|
|
19
19
|
test_end_time: Optional[str] = None
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|