Skip to content
Snippets Groups Projects
Verified Commit ecdb4310 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Fixed broken test

parent c9674eab
No related branches found
No related tags found
No related merge requests found
......@@ -29,7 +29,10 @@ async def test_get_latest_checks_by_domain(factories, db_conn):
check["node_name"] = domain["node_name"]
check["blocked"] = domain["blocked"]
check["name"] = domain["name"]
assert await db.get_latest_check_by_domain(db_conn) == expected
result = await db.get_latest_check_by_domain(db_conn)
assert len(result) == 2
for i, row in enumerate(result):
assert dict(row) == dict(expected[i])
async def test_get_stats(factories, db_conn):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment