Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9344766
D1551.id5087.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
493 B
Subscribers
None
D1551.id5087.diff
View Options
diff --git a/swh/storage/tests/test_storage.py b/swh/storage/tests/test_storage.py
--- a/swh/storage/tests/test_storage.py
+++ b/swh/storage/tests/test_storage.py
@@ -2452,7 +2452,7 @@
def test_content_find_with_present_content(self):
# 1. with something to find
cont = self.cont
- self.storage.content_add([cont])
+ self.storage.content_add([cont, self.cont2])
actually_present = self.storage.content_find(
{'sha1': cont['sha1']}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jul 3, 2:46 PM (4 d, 14 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3233937
Attached To
D1551: Test that content_find filters out contents that don't match.
Event Timeline
Log In to Comment