phi/test/test_api.py
crudo 7883b2d1c0 Make tests run again
I had to remove all the aiohttp crap for the moment.
2020-09-30 12:43:15 +02:00

16 lines
450 B
Python

# async def test_user_request_not_valid(test_client, api_app):
# client = await test_client(api_app)
# resp = await client.get('/user')
# assert resp.status == 422
# resp = None
# resp = await client.get('/user/')
# assert resp.status == 422
# async def test_user_not_found(test_client, api_app):
# client = await test_client(api_app)
# resp = await client.get('/user/nonexistent')
# assert resp.status == 404