Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions specs/host-composition-boundary/status.json
Original file line number Diff line number Diff line change
Expand Up @@ -863,11 +863,14 @@
{
"id": "GRAPHOS-HOST-R010",
"title": "GraphOS owns hosting/deployment configuration settings",
"delivery_state": "LANDED",
"delivery_state": "VERIFIED",
"landed_in": [
"afc93c497524"
],
"verified_by": []
"verified_by": [
"tests/deployment/test_host_config.py:32",
"tests/deployment/test_host_config.py:43"
]
},
{
"id": "GRAPHOS-HOST-R011",
Expand Down
2 changes: 2 additions & 0 deletions tests/deployment/test_host_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
load_hosting_deployment_settings = host_config.load_hosting_deployment_settings


@pytest.mark.spec("GRAPHOS-HOST-R010")
def test_module_does_not_import_agent_utilities_config_internals() -> None:
tree = ast.parse(MODULE_PATH.read_text(encoding="utf-8"), filename=str(MODULE_PATH))
imported = {
Expand All @@ -39,6 +40,7 @@ def test_module_does_not_import_agent_utilities_config_internals() -> None:
assert not any(m.startswith("agent_utilities") for m in imported)


@pytest.mark.spec("GRAPHOS-HOST-R010")
def test_load_resolves_defaults_from_graphos_owned_env_vars() -> None:
settings = load_hosting_deployment_settings(env={})
assert settings.bind_host == "127.0.0.1"
Expand Down
Loading