Page MenuHomeSoftware Heritage

D7301.diff
No OneTemporary

D7301.diff

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)

File Metadata

Mime Type
text/plain
Expires
Thu, Jan 30, 3:57 PM (6 h, 28 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3222180

Event Timeline