pytest-httpchain 0.14.2__tar.gz → 0.14.3__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 (43) hide show
  1. {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/PKG-INFO +2 -1
  2. {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/README.md +1 -0
  3. {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/pyproject.toml +1 -1
  4. {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/pyproject.toml.orig +1 -1
  5. {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/plugin.py +4 -2
  6. {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/LICENSE +0 -0
  7. {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/__init__.py +0 -0
  8. {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/carrier.py +0 -0
  9. {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/cli.py +0 -0
  10. {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/constants.py +0 -0
  11. {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/dataflow.py +0 -0
  12. {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/errors.py +0 -0
  13. {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/factory.py +0 -0
  14. {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/har_writer.py +0 -0
  15. {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/jsonref/__init__.py +0 -0
  16. {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/jsonref/exceptions.py +0 -0
  17. {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/jsonref/loader.py +0 -0
  18. {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/jsonref/plumbing/__init__.py +0 -0
  19. {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/jsonref/plumbing/circular.py +0 -0
  20. {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/jsonref/plumbing/path.py +0 -0
  21. {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/jsonref/plumbing/reference.py +0 -0
  22. {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/models/__init__.py +0 -0
  23. {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/models/entities.py +0 -0
  24. {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/models/types.py +0 -0
  25. {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/py.typed +0 -0
  26. {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/report_formatter.py +0 -0
  27. {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/request_builder.py +0 -0
  28. {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/response_steps.py +0 -0
  29. {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/schema.py +0 -0
  30. {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/scoping.py +0 -0
  31. {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/templates/__init__.py +0 -0
  32. {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/templates/exceptions.py +0 -0
  33. {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/templates/expressions.py +0 -0
  34. {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/templates/substitution.py +0 -0
  35. {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/userfunc.py +0 -0
  36. {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/utils.py +0 -0
  37. {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/validation/__init__.py +0 -0
  38. {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/validation/deep.py +0 -0
  39. {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/validation/diagnostics.py +0 -0
  40. {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/validation/loader.py +0 -0
  41. {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/validation/semantic.py +0 -0
  42. {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/validation/validate.py +0 -0
  43. {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/warnings.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pytest-httpchain
3
- Version: 0.14.2
3
+ Version: 0.14.3
4
4
  Summary: pytest plugin for HTTP testing using JSON files
5
5
  Keywords: testing,pytest,httpx,http,api,integration-testing
6
6
  Author: Alexander Eresov
@@ -95,6 +95,7 @@ Create a JSON test file named like `test_<name>.<suffix>.json` (default suffix i
95
95
  import pytest
96
96
  from datetime import datetime
97
97
 
98
+
98
99
  @pytest.fixture
99
100
  def now_utc():
100
101
  return datetime.now()
@@ -61,6 +61,7 @@ Create a JSON test file named like `test_<name>.<suffix>.json` (default suffix i
61
61
  import pytest
62
62
  from datetime import datetime
63
63
 
64
+
64
65
  @pytest.fixture
65
66
  def now_utc():
66
67
  return datetime.now()
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "pytest-httpchain"
3
- version = "0.14.2"
3
+ version = "0.14.3"
4
4
  description = "pytest plugin for HTTP testing using JSON files"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.13"
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "pytest-httpchain"
3
- version = "0.14.2"
3
+ version = "0.14.3"
4
4
  description = "pytest plugin for HTTP testing using JSON files"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.13"
@@ -298,8 +298,10 @@ _PREVIOUS_MAX_COMPREHENSION_LENGTH: pytest.StashKey[int] = pytest.StashKey()
298
298
 
299
299
 
300
300
  def pytest_configure(config: pytest.Config) -> None:
301
- # pytest converts type="int" options with a bare int(), whose ValueError it
302
- # renders as an INTERNALERROR; wrap it into a clean usage error.
301
+ # Through pytest 9, type="int" options are converted with a bare int() whose
302
+ # ValueError is rendered as an INTERNALERROR; wrap it into a clean usage
303
+ # error. pytest 10 raises a UsageError itself, so the except branch stops
304
+ # firing there — keep it until the floor moves past 9.
303
305
  def _getint(option: ConfigOptions, minimum: int, minimum_message: str, maximum: int | None = None) -> int:
304
306
  try:
305
307
  value = config.getini(option)