Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9348295
D6187.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
620 B
Subscribers
None
D6187.diff
View Options
diff --git a/docker/tests/test_vault.py b/docker/tests/test_vault.py
--- a/docker/tests/test_vault.py
+++ b/docker/tests/test_vault.py
@@ -18,10 +18,9 @@
visit = apiget(f"origin/{quote_plus(git_origin)}/visit/latest")
snapshot = apiget(f'snapshot/{visit["snapshot"]}')
rev_id = snapshot["branches"]["refs/heads/master"]["target"]
- rev_swhid = f'swh:1:rev:{rev_id}'
revision = apiget(f"revision/{rev_id}")
dir_id = revision["directory"]
- dir_swhid = f'swh:1:dir:{dir_id}'
+ dir_swhid = f"swh:1:dir:{dir_id}"
# now cook it
cook = apiget(f"vault/flat/{dir_swhid}/", "POST")
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Jul 3 2025, 6:23 PM (5 w, 3 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3218820
Attached To
D6187: docker/tests: Fix flake8 error about unused variable
Event Timeline
Log In to Comment