dirigent-testing 0.27.1__tar.gz → 0.28.0__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.
- {dirigent_testing-0.27.1 → dirigent_testing-0.28.0}/PKG-INFO +3 -3
- {dirigent_testing-0.27.1 → dirigent_testing-0.28.0}/pyproject.toml +3 -3
- {dirigent_testing-0.27.1 → dirigent_testing-0.28.0}/pyproject.toml.orig +3 -3
- {dirigent_testing-0.27.1 → dirigent_testing-0.28.0}/src/dirigent_testing/conformance.py +2 -2
- {dirigent_testing-0.27.1 → dirigent_testing-0.28.0}/LICENSE +0 -0
- {dirigent_testing-0.27.1 → dirigent_testing-0.28.0}/README.md +0 -0
- {dirigent_testing-0.27.1 → dirigent_testing-0.28.0}/src/dirigent_testing/__init__.py +0 -0
- {dirigent_testing-0.27.1 → dirigent_testing-0.28.0}/src/dirigent_testing/doubles.py +0 -0
- {dirigent_testing-0.27.1 → dirigent_testing-0.28.0}/src/dirigent_testing/environment.py +0 -0
- {dirigent_testing-0.27.1 → dirigent_testing-0.28.0}/src/dirigent_testing/fixtures.py +0 -0
- {dirigent_testing-0.27.1 → dirigent_testing-0.28.0}/src/dirigent_testing/messages.py +0 -0
- {dirigent_testing-0.27.1 → dirigent_testing-0.28.0}/src/dirigent_testing/py.typed +0 -0
- {dirigent_testing-0.27.1 → dirigent_testing-0.28.0}/src/dirigent_testing/running.py +0 -0
- {dirigent_testing-0.27.1 → dirigent_testing-0.28.0}/src/dirigent_testing/wording.py +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: dirigent-testing
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.28.0
|
|
4
4
|
Summary: Test doubles and pytest fixtures for writing and testing dirigent blocks.
|
|
5
5
|
License-Expression: LicenseRef-Proprietary
|
|
6
6
|
License-File: LICENSE
|
|
7
7
|
Classifier: Programming Language :: Python :: 3
|
|
8
8
|
Classifier: Programming Language :: Python :: 3.13
|
|
9
|
-
Requires-Dist: dirigent-common==0.
|
|
10
|
-
Requires-Dist: dirigent-plugin==0.
|
|
9
|
+
Requires-Dist: dirigent-common==0.28.0
|
|
10
|
+
Requires-Dist: dirigent-plugin==0.28.0
|
|
11
11
|
Requires-Dist: httpx2>=2.12.0
|
|
12
12
|
Requires-Dist: pydantic>=2.13.5
|
|
13
13
|
Requires-Dist: pytest>=9.1.1
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "dirigent-testing"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.28.0"
|
|
4
4
|
description = "Test doubles and pytest fixtures for writing and testing dirigent blocks."
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.13"
|
|
@@ -11,8 +11,8 @@ classifiers = [
|
|
|
11
11
|
"Programming Language :: Python :: 3.13",
|
|
12
12
|
]
|
|
13
13
|
dependencies = [
|
|
14
|
-
"dirigent-common==0.
|
|
15
|
-
"dirigent-plugin==0.
|
|
14
|
+
"dirigent-common==0.28.0",
|
|
15
|
+
"dirigent-plugin==0.28.0",
|
|
16
16
|
"httpx2>=2.12.0",
|
|
17
17
|
"pydantic>=2.13.5",
|
|
18
18
|
"pytest>=9.1.1",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "dirigent-testing"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.28.0"
|
|
4
4
|
description = "Test doubles and pytest fixtures for writing and testing dirigent blocks."
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
requires-python = ">=3.13"
|
|
@@ -11,8 +11,8 @@ classifiers = [
|
|
|
11
11
|
"Programming Language :: Python :: 3.13",
|
|
12
12
|
]
|
|
13
13
|
dependencies = [
|
|
14
|
-
"dirigent-common==0.
|
|
15
|
-
"dirigent-plugin==0.
|
|
14
|
+
"dirigent-common==0.28.0",
|
|
15
|
+
"dirigent-plugin==0.28.0",
|
|
16
16
|
"httpx2>=2.12.0",
|
|
17
17
|
"pydantic>=2.13.5",
|
|
18
18
|
"pytest>=9.1.1",
|
|
@@ -21,7 +21,7 @@ from jsonschema import ValidationError as SchemaValidationError
|
|
|
21
21
|
from jsonschema.validators import extend as extend_validator # pyright: ignore[reportUnknownVariableType]
|
|
22
22
|
from pydantic import BaseModel, JsonValue
|
|
23
23
|
|
|
24
|
-
from dirigent_common import BlockModel, HumaneJsonSchema, JsonMap
|
|
24
|
+
from dirigent_common import LOCAL_REFERENCES, BlockModel, HumaneJsonSchema, JsonMap
|
|
25
25
|
from dirigent_plugin import AnyOperator, AnySensor, Contribution, mark_refusal
|
|
26
26
|
|
|
27
27
|
#: A ``${...}`` reference, matched the way the engine matches one.
|
|
@@ -175,7 +175,7 @@ def _check_step(
|
|
|
175
175
|
def _config_issues(label: Path, name: str, config: JsonMap, schema: JsonMap) -> list[str]:
|
|
176
176
|
"""List the ways a step's config violates its block's schema, deferring every reference."""
|
|
177
177
|
deferred = _defer_references(config)
|
|
178
|
-
raised: Any = _ConfigValidator(schema).iter_errors(deferred) # pyright: ignore[reportUnknownMemberType]
|
|
178
|
+
raised: Any = _ConfigValidator(schema, registry=LOCAL_REFERENCES).iter_errors(deferred) # pyright: ignore[reportUnknownMemberType]
|
|
179
179
|
found = cast("list[SchemaValidationError]", list(raised))
|
|
180
180
|
issues: list[str] = []
|
|
181
181
|
for error in sorted(found, key=lambda item: [str(part) for part in item.absolute_path]):
|
|
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
|