pytest quibbles and dev dependencies.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
def test_homepage(client):
|
||||
r = client.get("/")
|
||||
assert b"Add a new wallet" in r.data
|
||||
import pytest
|
||||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
async def test_homepage(client):
|
||||
r = await client.get("/")
|
||||
assert b"Add a new wallet" in await r.get_data()
|
||||
|
||||
Reference in New Issue
Block a user