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

@@ -88,8 +88,8 @@ async def test_put_then_get(client, auth_token):
# Persisted as JSON string in the topology row.
topo = await _repo.get_topology(tid)
assert isinstance(topo["email_personas"], str)
stored = json.loads(topo["email_personas"])
assert isinstance(topo.email_personas, str)
stored = json.loads(topo.email_personas)
assert {p["email"] for p in stored} == {"a@example.com", "b@example.com"}