Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7123968
D3584.id12615.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
D3584.id12615.diff
View Options
diff --git a/swh/storage/pytest_plugin.py b/swh/storage/pytest_plugin.py
--- a/swh/storage/pytest_plugin.py
+++ b/swh/storage/pytest_plugin.py
@@ -24,7 +24,6 @@
MetadataFetcher,
Origin,
OriginVisit,
- Person,
RawExtrinsicMetadata,
Release,
Revision,
@@ -213,7 +212,6 @@
return {
"content": [data.content, data.content2, data.content3],
"skipped_content": [data.skipped_content, data.skipped_content2],
- "person": [data.person],
"directory": [data.dir2, data.dir, data.dir3, data.dir4],
"revision": [data.revision, data.revision2, data.revision3, data.revision4],
"release": [data.release, data.release2, data.release3],
@@ -240,7 +238,6 @@
OBJECT_FACTORY = {
"content": Content.from_dict,
"skipped_content": SkippedContent.from_dict,
- "person": Person.from_dict,
"directory": Directory.from_dict,
"revision": Revision.from_dict,
"release": Release.from_dict,
diff --git a/swh/storage/tests/storage_data.py b/swh/storage/tests/storage_data.py
--- a/swh/storage/tests/storage_data.py
+++ b/swh/storage/tests/storage_data.py
@@ -575,9 +575,3 @@
format="yaml",
metadata=b"foo: bar",
)
-
-person = {
- "name": b"John Doe",
- "email": b"john.doe@institute.org",
- "fullname": b"John Doe <john.doe@institute.org>",
-}
diff --git a/swh/storage/tests/test_pytest_plugin.py b/swh/storage/tests/test_pytest_plugin.py
--- a/swh/storage/tests/test_pytest_plugin.py
+++ b/swh/storage/tests/test_pytest_plugin.py
@@ -16,7 +16,6 @@
[
"content",
"skipped_content",
- "person",
"directory",
"revision",
"release",
@@ -51,7 +50,6 @@
[
"content",
"skipped_content",
- "person",
"directory",
"revision",
"release",
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Dec 20 2024, 7:27 AM (11 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3220848
Attached To
D3584: storage_data: Remove unused fixture data
Event Timeline
Log In to Comment