Commit 63e2e3f7 authored by Marius Kriegerowski's avatar Marius Kriegerowski
Browse files

Adopted changed async storage api

parent 58ea72e3
Pipeline #26486 passed with stage
in 1 minute and 19 seconds
......@@ -39,5 +39,5 @@ async def test_get_floorspace(connected_storage, mock_storage):
payload = {"building_id": 848970775}
await rule.evaluate(payload=payload)
data_out = mock_storage.get_results("SELECT * FROM obm_buildings;")
data_out = await mock_storage.get_results("SELECT * FROM obm_buildings;")
assert data_out == [(848970775, 2.1424237391628443e-09)]
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment