fix(tests): sync 4 tests to current production contracts

- SSH schema: add user + user_password fields (service extended post-test)
- TopologySummary: repo.get_topology() returns model now, not raw dict
- health live: tarpit_watcher added to get_background_tasks(), add to expected set
This commit is contained in:
2026-05-10 06:48:42 -04:00
parent e4626879f6
commit 64610bf96e
4 changed files with 6 additions and 8 deletions

View File

@@ -35,7 +35,7 @@ async def test_get_ssh_schema_returns_declared_fields(
assert body["name"] == "ssh"
assert body["ports"] == [22]
keys = {f["key"] for f in body["fields"]}
assert keys == {"password", "hostname"}
assert keys == {"password", "user", "user_password", "hostname"}
pw = next(f for f in body["fields"] if f["key"] == "password")
assert pw["type"] == "password" and pw["secret"] is True