Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7124310
D3814.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
527 B
Subscribers
None
D3814.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
@@ -139,7 +139,7 @@
"WHERE table_schema = %s",
("public",),
)
- tables = set(table for (table,) in cur.fetchall())
+ tables = set(table for (table,) in cur.fetchall()) - {"dbversion"}
for table in tables:
cur.execute("truncate table %s cascade" % table)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Dec 21 2024, 6:17 AM (11 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3220936
Attached To
D3814: Add a check_dbversion() method to the Db class
Event Timeline
Log In to Comment