cli = <FlaskClient <VaultServerApp 'swh.vault.api.server'>>
def test_client_batch_progress_notfound(cli):
resp = cli.post(
"/batch_progress",
data=msgpack_dumps({"batch_id": 1}),
headers={"Content-Type": "application/x-msgpack"},
)
> assert resp.status == "400 BAD REQUEST"
E AssertionError: assert '500 INTERNAL SERVER ERROR' == '400 BAD REQUEST'
E - 400 BAD REQUEST
E + 500 INTERNAL SERVER ERROR
.tox/py3/lib/python3.7/site-packages/swh/vault/tests/test_server.py:115: AssertionError
TEST RESULT
TEST RESULT
- Run At
- Mar 4 2022, 12:37 PM