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.
- {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/PKG-INFO +2 -1
- {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/README.md +1 -0
- {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/pyproject.toml +1 -1
- {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/pyproject.toml.orig +1 -1
- {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/plugin.py +4 -2
- {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/LICENSE +0 -0
- {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/__init__.py +0 -0
- {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/carrier.py +0 -0
- {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/cli.py +0 -0
- {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/constants.py +0 -0
- {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/dataflow.py +0 -0
- {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/errors.py +0 -0
- {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/factory.py +0 -0
- {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/har_writer.py +0 -0
- {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/jsonref/__init__.py +0 -0
- {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/jsonref/exceptions.py +0 -0
- {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/jsonref/loader.py +0 -0
- {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/jsonref/plumbing/__init__.py +0 -0
- {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/jsonref/plumbing/circular.py +0 -0
- {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/jsonref/plumbing/path.py +0 -0
- {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/jsonref/plumbing/reference.py +0 -0
- {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/models/__init__.py +0 -0
- {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/models/entities.py +0 -0
- {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/models/types.py +0 -0
- {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/py.typed +0 -0
- {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/report_formatter.py +0 -0
- {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/request_builder.py +0 -0
- {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/response_steps.py +0 -0
- {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/schema.py +0 -0
- {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/scoping.py +0 -0
- {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/templates/__init__.py +0 -0
- {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/templates/exceptions.py +0 -0
- {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/templates/expressions.py +0 -0
- {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/templates/substitution.py +0 -0
- {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/userfunc.py +0 -0
- {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/utils.py +0 -0
- {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/validation/__init__.py +0 -0
- {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/validation/deep.py +0 -0
- {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/validation/diagnostics.py +0 -0
- {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/validation/loader.py +0 -0
- {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/validation/semantic.py +0 -0
- {pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/validation/validate.py +0 -0
- {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.
|
|
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()
|
|
@@ -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
|
|
302
|
-
#
|
|
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)
|
|
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
|
{pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/jsonref/__init__.py
RENAMED
|
File without changes
|
{pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/jsonref/exceptions.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/jsonref/plumbing/path.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/report_formatter.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/templates/__init__.py
RENAMED
|
File without changes
|
{pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/templates/exceptions.py
RENAMED
|
File without changes
|
{pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/templates/expressions.py
RENAMED
|
File without changes
|
{pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/templates/substitution.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/validation/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/validation/diagnostics.py
RENAMED
|
File without changes
|
{pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/validation/loader.py
RENAMED
|
File without changes
|
{pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/validation/semantic.py
RENAMED
|
File without changes
|
{pytest_httpchain-0.14.2 → pytest_httpchain-0.14.3}/src/pytest_httpchain/validation/validate.py
RENAMED
|
File without changes
|
|
File without changes
|