Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9312585
D8189.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
D8189.diff
View Options
diff --git a/requirements-test.txt b/requirements-test.txt
--- a/requirements-test.txt
+++ b/requirements-test.txt
@@ -1,9 +1,10 @@
-pytest
+attrs
dulwich >= 0.18.7
+pytest
+pytest-mock
swh.loader.core
swh.loader.git >= 0.8
swh.storage[testing]
-pytest-mock
types-click
types-python-dateutil
types-pyyaml
diff --git a/swh/vault/tests/test_cookers.py b/swh/vault/tests/test_cookers.py
--- a/swh/vault/tests/test_cookers.py
+++ b/swh/vault/tests/test_cookers.py
@@ -17,7 +17,7 @@
import unittest
import unittest.mock
-import attrs
+import attr
import dulwich.fastexport
import dulwich.index
import dulwich.objects
@@ -442,7 +442,7 @@
# alter the content of the storage
# 1/ make file 2 an hidden file object
loader.storage._allow_overwrite = True
- cnt2 = attrs.evolve(
+ cnt2 = attr.evolve(
loader.storage.content_get([id_2])[0], status="hidden", data=file_2
)
loader.storage.content_add([cnt2])
@@ -826,7 +826,7 @@
# alter the content of the storage
# 1/ make file 2 an hidden file object
loader.storage._allow_overwrite = True
- cnt2 = attrs.evolve(
+ cnt2 = attr.evolve(
loader.storage.content_get([id_2])[0], status="hidden", data=file_2
)
loader.storage.content_add([cnt2])
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jul 2, 10:58 AM (1 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3224445
Attached To
D8189: Use original attr module instead of attrs
Event Timeline
Log In to Comment