Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7066453
D2012.id6761.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
519 B
Subscribers
None
D2012.id6761.diff
View Options
diff --git a/swh/core/db/tests/db_testing.py b/swh/core/db/tests/db_testing.py
--- a/swh/core/db/tests/db_testing.py
+++ b/swh/core/db/tests/db_testing.py
@@ -293,7 +293,9 @@
cls.dbname = cls.TEST_DB_NAME # XXX to kill?
dump_files = cls.TEST_DB_DUMP
- if isinstance(dump_files, str):
+ if dump_files is None:
+ dump_files = []
+ elif isinstance(dump_files, str):
dump_files = [dump_files]
all_dump_files = []
for files in dump_files:
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Nov 5 2024, 9:38 AM (12 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3224859
Attached To
D2012: db_testing.py: do not explode when TEST_DB_DUMP = None
Event Timeline
Log In to Comment