Skip to content

Commit c56d29e

Browse files
committed
test: add explicit check for imported data.
Make sure the duplicate user is properly retreived using lookup by username.
1 parent 3da9b3d commit c56d29e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/db_test_base.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3059,6 +3059,9 @@ def testImportExport(self):
30593059

30603060
# This is needed, otherwise journals won't be there for anydbm
30613061
self.db.commit()
3062+
3063+
self.assertEqual(self.db.user.lookup("duplicate"), active_dupe_id)
3064+
30623065
finally:
30633066
shutil.rmtree('_test_export')
30643067

0 commit comments

Comments
 (0)