pytest-plugins 0.4.3__tar.gz → 0.4.5__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.
Files changed (32) hide show
  1. {pytest_plugins-0.4.3/pytest_plugins.egg-info → pytest_plugins-0.4.5}/PKG-INFO +1 -1
  2. {pytest_plugins-0.4.3 → pytest_plugins-0.4.5}/pytest_plugins/better_report.py +4 -1
  3. {pytest_plugins-0.4.3 → pytest_plugins-0.4.5}/pytest_plugins/models/test_data.py +1 -1
  4. {pytest_plugins-0.4.3 → pytest_plugins-0.4.5/pytest_plugins.egg-info}/PKG-INFO +1 -1
  5. {pytest_plugins-0.4.3 → pytest_plugins-0.4.5}/pytest_plugins.egg-info/SOURCES.txt +2 -1
  6. {pytest_plugins-0.4.3 → pytest_plugins-0.4.5}/setup.py +1 -1
  7. pytest_plugins-0.4.5/tests/test_dummy_regular.py +3 -0
  8. {pytest_plugins-0.4.3 → pytest_plugins-0.4.5}/LICENSE +0 -0
  9. {pytest_plugins-0.4.3 → pytest_plugins-0.4.5}/MANIFEST.in +0 -0
  10. {pytest_plugins-0.4.3 → pytest_plugins-0.4.5}/README.md +0 -0
  11. {pytest_plugins-0.4.3 → pytest_plugins-0.4.5}/pyproject.toml +0 -0
  12. {pytest_plugins-0.4.3 → pytest_plugins-0.4.5}/pytest_plugins/__init__.py +0 -0
  13. {pytest_plugins-0.4.3 → pytest_plugins-0.4.5}/pytest_plugins/add_config_parameters.py +0 -0
  14. {pytest_plugins-0.4.3 → pytest_plugins-0.4.5}/pytest_plugins/fail2skip.py +0 -0
  15. {pytest_plugins-0.4.3 → pytest_plugins-0.4.5}/pytest_plugins/max_fail_streak.py +0 -0
  16. {pytest_plugins-0.4.3 → pytest_plugins-0.4.5}/pytest_plugins/models/__init__.py +0 -0
  17. {pytest_plugins-0.4.3 → pytest_plugins-0.4.5}/pytest_plugins/models/base_class_test.py +0 -0
  18. {pytest_plugins-0.4.3 → pytest_plugins-0.4.5}/pytest_plugins/models/environment_data.py +0 -0
  19. {pytest_plugins-0.4.3 → pytest_plugins-0.4.5}/pytest_plugins/models/execution_data.py +0 -0
  20. {pytest_plugins-0.4.3 → pytest_plugins-0.4.5}/pytest_plugins/models/status.py +0 -0
  21. {pytest_plugins-0.4.3 → pytest_plugins-0.4.5}/pytest_plugins/utils/__init__.py +0 -0
  22. {pytest_plugins-0.4.3 → pytest_plugins-0.4.5}/pytest_plugins/utils/create_report.py +0 -0
  23. {pytest_plugins-0.4.3 → pytest_plugins-0.4.5}/pytest_plugins/utils/helper.py +0 -0
  24. {pytest_plugins-0.4.3 → pytest_plugins-0.4.5}/pytest_plugins/utils/pytest_helper.py +0 -0
  25. {pytest_plugins-0.4.3 → pytest_plugins-0.4.5}/pytest_plugins/verbose_param_ids.py +0 -0
  26. {pytest_plugins-0.4.3 → pytest_plugins-0.4.5}/pytest_plugins.egg-info/dependency_links.txt +0 -0
  27. {pytest_plugins-0.4.3 → pytest_plugins-0.4.5}/pytest_plugins.egg-info/entry_points.txt +0 -0
  28. {pytest_plugins-0.4.3 → pytest_plugins-0.4.5}/pytest_plugins.egg-info/requires.txt +0 -0
  29. {pytest_plugins-0.4.3 → pytest_plugins-0.4.5}/pytest_plugins.egg-info/top_level.txt +0 -0
  30. {pytest_plugins-0.4.3 → pytest_plugins-0.4.5}/requirements.txt +0 -0
  31. {pytest_plugins-0.4.3 → pytest_plugins-0.4.5}/setup.cfg +0 -0
  32. {pytest_plugins-0.4.3 → pytest_plugins-0.4.5}/tests/test_dummy.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pytest-plugins
3
- Version: 0.4.3
3
+ Version: 0.4.5
4
4
  Summary: A Python package for managing pytest plugins.
5
5
  Home-page: https://github.com/aviz92/pytest-plugins
6
6
  Author: Avi Zaguri
@@ -159,7 +159,9 @@ def pytest_collection_modifyitems(config: Config, items: list[Function]) -> None
159
159
  test_full_name=test_full_name,
160
160
  test_full_path=get_test_full_path(item=item),
161
161
  test_file_name=item.fspath.basename,
162
- test_parameters=item.callspec.params if getattr(item, 'callspec', None) else None,
162
+ test_parameters=json.loads(
163
+ json.dumps(item.callspec.params, default=serialize_data)
164
+ ) if getattr(item, 'callspec', None) else None,
163
165
  test_markers=[marker.name for marker in item.iter_markers() if not marker.args],
164
166
  test_status=ExecutionStatus.COLLECTED,
165
167
  test_start_time=None,
@@ -216,6 +218,7 @@ def session_setup_teardown(request: FixtureRequest) -> Generator[None, Any, None
216
218
  def pytest_runtest_makereport(item: Function, call: Any) -> Generator[None, Any, None]:
217
219
  if not getattr(item.config, '_better_report_enabled', None):
218
220
  logger.debug("Better report plugin is not enabled, skipping session start processing")
221
+ yield
219
222
  return
220
223
 
221
224
  test_full_name = get_test_full_name(item=item)
@@ -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
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pytest-plugins
3
- Version: 0.4.3
3
+ Version: 0.4.5
4
4
  Summary: A Python package for managing pytest plugins.
5
5
  Home-page: https://github.com/aviz92/pytest-plugins
6
6
  Author: Avi Zaguri
@@ -26,4 +26,5 @@ pytest_plugins/utils/__init__.py
26
26
  pytest_plugins/utils/create_report.py
27
27
  pytest_plugins/utils/helper.py
28
28
  pytest_plugins/utils/pytest_helper.py
29
- tests/test_dummy.py
29
+ tests/test_dummy.py
30
+ tests/test_dummy_regular.py
@@ -1,6 +1,6 @@
1
1
  from setuptools import setup, find_packages
2
2
 
3
- package_version = '0.4.3'
3
+ package_version = '0.4.5'
4
4
 
5
5
  package_name = 'pytest-plugins'
6
6
  package_description = 'A Python package for managing pytest plugins.'
@@ -0,0 +1,3 @@
1
+ class TestDummy:
2
+ def test_pass(self):
3
+ assert True
File without changes
File without changes
File without changes