feat(v2): complete v2 reimplementation
This commit is contained in:
@@ -144,6 +144,14 @@ def test_state_errors_capabilities_and_fault_points_are_frozen() -> None:
|
||||
|
||||
capabilities = load(CONTRACT / "capabilities-v2.0.json")
|
||||
assert capabilities["sources"] == ["local", "ssh"]
|
||||
|
||||
manifest_schema = load(CONTRACT / "manifest.schema.json")
|
||||
adapter_kinds = manifest_schema["properties"]["source_consistency"]["properties"]["adapter"][
|
||||
"enum"
|
||||
]
|
||||
assert adapter_kinds == ["local", "postgresql", "mysql"]
|
||||
assert "ssh" not in adapter_kinds
|
||||
|
||||
assert not capabilities["features"]["tar_download"]
|
||||
assert not capabilities["features"]["postgresql"]
|
||||
assert not capabilities["features"]["mysql"]
|
||||
|
||||
Reference in New Issue
Block a user