pytest quibbles and dev dependencies.

This commit is contained in:
fiatjaf
2020-09-17 22:41:30 -03:00
parent ef0bdf8363
commit cd8a447ba0
5 changed files with 42 additions and 69 deletions
+7 -3
View File
@@ -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()