diff --git a/swh/icinga_plugins/tests/test_vault.py b/swh/icinga_plugins/tests/test_vault.py --- a/swh/icinga_plugins/tests/test_vault.py +++ b/swh/icinga_plugins/tests/test_vault.py @@ -387,7 +387,7 @@ "get", url_fetch, b"this-is-not-a-tarball", - headers={"Content-Type": "application/gzip", "Content-Length": "100000"}, + headers={"Content-Type": "application/gzip"}, ) scenario.install_mock(requests_mock) @@ -427,10 +427,7 @@ scenario.add_step("get", url_api, response_pending) scenario.add_step("get", url_api, response_done) scenario.add_step( - "get", - url_fetch, - tarball, - headers={"Content-Type": "application/gzip", "Content-Length": "100000"}, + "get", url_fetch, tarball, headers={"Content-Type": "application/gzip"}, ) scenario.install_mock(requests_mock)