2020-09-30 12:43:15 +02:00
|
|
|
# async def test_user_request_not_valid(test_client, api_app):
|
|
|
|
# client = await test_client(api_app)
|
2017-12-27 11:02:38 +01:00
|
|
|
|
2020-09-30 12:43:15 +02:00
|
|
|
# resp = await client.get('/user')
|
|
|
|
# assert resp.status == 422
|
|
|
|
# resp = None
|
2017-12-27 11:02:38 +01:00
|
|
|
|
2020-09-30 12:43:15 +02:00
|
|
|
# resp = await client.get('/user/')
|
|
|
|
# assert resp.status == 422
|
2017-12-27 11:02:38 +01:00
|
|
|
|
|
|
|
|
2020-09-30 12:43:15 +02:00
|
|
|
# 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
|