cli = <aiohttp.test_utils.TestClient object at 0x7f0c8231afd0>
async def test_get_client_error(cli) -> None:
resp = await cli.get("/client_error")
> assert resp.status == 400
E AssertionError: assert 500 == 400
E + where 500 = <ClientResponse(http://127.0.0.1:38647/client_error) [500 Internal Server Error]>\n<CIMultiDictProxy('Content-Type': 'text/plain; charset=utf-8', 'Content-Length': '55', 'Date': 'Fri, 30 Sep 2022 14:04:34 GMT', 'Server': 'Python/3.7 aiohttp/3.8.3', 'Connection': 'close')>\n.status
.tox/py3-core-db-server-github-slow-cover/lib/python3.7/site-packages/swh/core/api/tests/test_async.py:124: AssertionError
TEST RESULT
TEST RESULT
- Run At
- Sep 30 2022, 4:04 PM