mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix failing test
This commit is contained in:
parent
9cafd232d4
commit
0c7caac263
@ -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()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user