diff --git a/swh/deposit/api/state.py b/swh/deposit/api/state.py --- a/swh/deposit/api/state.py +++ b/swh/deposit/api/state.py @@ -46,7 +46,7 @@ return render( req, - "deposit/status.xml", + "deposit/state.xml", context=context, content_type="application/xml", status=status.HTTP_200_OK, diff --git a/swh/deposit/templates/deposit/status.xml b/swh/deposit/templates/deposit/state.xml rename from swh/deposit/templates/deposit/status.xml rename to swh/deposit/templates/deposit/state.xml diff --git a/swh/deposit/tests/api/test_deposit_status.py b/swh/deposit/tests/api/test_deposit_state.py rename from swh/deposit/tests/api/test_deposit_status.py rename to swh/deposit/tests/api/test_deposit_state.py