Trying to make session embeddable
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user