Fix failing test

This commit is contained in:
Kovid Goyal 2022-07-15 19:57:21 +05:30
parent 9cafd232d4
commit 0c7caac263
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -268,6 +268,7 @@ class LegacyTest(BaseTest):
def f(x, y): # get_top_level_move_items is broken in the old db on case-insensitive file systems def f(x, y): # get_top_level_move_items is broken in the old db on case-insensitive file systems
x.discard('metadata_db_prefs_backup.json') x.discard('metadata_db_prefs_backup.json')
y.pop('full-text-search.db', None)
return x, y return x, y
self.assertEqual(f(*db.get_top_level_move_items()), f(*ndb.get_top_level_move_items())) self.assertEqual(f(*db.get_top_level_move_items()), f(*ndb.get_top_level_move_items()))
d1, d2 = BytesIO(), BytesIO() d1, d2 = BytesIO(), BytesIO()