Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7163811
D7301.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
890 B
Subscribers
None
D7301.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 30, 3:57 PM (1 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3222180
Attached To
D7301: Remove useless HTTP header from tests
Event Timeline
Log In to Comment