Skip to content

Commit 5e19472

Browse files
committed
issue2551142 - Import of retired node ... fails with unique constraint
CI failed on all backends except sqlite and anydbm. Fix memorydb. Treat it like anydbm.
1 parent 709b891 commit 5e19472

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/db_test_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2899,7 +2899,7 @@ def testImportExport(self):
28992899
self.db.setid(cn, str(maxid+1))
29002900
klass.import_journals(journals[cn])
29012901

2902-
if self.db.dbtype != 'anydbm':
2902+
if self.db.dbtype not in ['anydbm', 'memorydb']:
29032903
# no logs or fixup needed under anydbm
29042904
self.assertEqual(2, len(self._caplog.record_tuples))
29052905
self.assertIn('Attempting to handle import exception for id 7:',

0 commit comments

Comments
 (0)