feat: pristine harness JSON interfaces and require-existing semantic mode (P2)
This commit is contained in:
@@ -8,7 +8,11 @@ def test_local_compose_uses_the_generic_external_endpoint_contract():
|
||||
compose = yaml.safe_load((root / "compose.yaml").read_text())
|
||||
local = yaml.safe_load((root / "deploy/compose.local.yaml").read_text())
|
||||
|
||||
assert set(compose["services"]) == {"core", "frontend", "qdrant", "embedding", "embedding-model-init"}
|
||||
assert set(compose["services"]) == {
|
||||
"core", "frontend", "qdrant", "embedding", "embedding-model-init", "workspace-maintenance",
|
||||
}
|
||||
# workspace-maintenance is profile-gated: it must not be part of the default local startup.
|
||||
assert compose["services"]["workspace-maintenance"].get("profiles") == ["workspace-maintenance"]
|
||||
assert local["services"]["core"]["environment"]["AUTH_MODE"] == "none"
|
||||
assert local["services"]["core"]["ports"] == ["127.0.0.1:${THOTH_CORE_HTTP_PORT:-8787}:8787"]
|
||||
assert local["services"]["frontend"]["ports"] == ["127.0.0.1:${THOTH_HTTP_PORT:-8080}:8080"]
|
||||
|
||||
Reference in New Issue
Block a user