Trying to make session embeddable

This commit is contained in:
jfm committed 2025-10-29 17:58:41 +01:00
1 parent 4d2291526e
commit 692b4803d7
4 files changed
+31 -54

No files matched your search

+2 -2
View File
@@ -9,8 +9,8 @@ from rapt.hydrometer import Hydrometer
@pytest.fixture
async def client(aiohttp_client):
app = web.Application()
await aiohttp_client(app)
yield Client("test", "test")
session = await aiohttp_client(app)
yield Client("test", "test", None)
async def test_get_hydrometers(client):
with aioresponses() as responses: