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:
@@ -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"}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user