cli = <FlaskClient <VaultServerApp 'swh.vault.api.server'>>
def test_client_progress_notfound(cli):
resp = cli.post(
"/progress",
data=json_dumps(
{"bundle_type": "flat", "swhid": TEST_SWHID}, extra_encoders=ENCODERS
),
headers=[("Content-Type", "application/json")],
)
> 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:96: AssertionError
TEST RESULT
TEST RESULT
- Run At
- Mar 4 2022, 11:11 AM