Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7122812
D379.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
955 B
Subscribers
None
D379.diff
View Options
diff --git a/swh/deposit/tests/api/test_deposit_check.py b/swh/deposit/tests/api/test_deposit_check.py
--- a/swh/deposit/tests/api/test_deposit_check.py
+++ b/swh/deposit/tests/api/test_deposit_check.py
@@ -71,17 +71,6 @@
self.assertEqual(response.status_code, status.HTTP_200_OK)
data = json.loads(response.content.decode('utf-8'))
self.assertEqual(data['status'], DEPOSIT_STATUS_REJECTED)
- expected_error = {
- 'metadata': [
- {
- 'fields': ['url', 'external_identifier', 'author'],
- 'summary': 'Mandatory fields are missing'
- },
- {
- 'fields': [['name', 'title']],
- 'summary': 'Mandatory alternate fields are missing'
- }],
- }
details = data['details']
# archive checks failure
self.assertEqual(len(details['archive']['ids']), 1)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Dec 17 2024, 3:03 AM (13 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3217142
Attached To
D379: api.status: Open detail status on rejected deposit for client
Event Timeline
Log In to Comment