mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
27678a85c6
commit
4a105ef459
@ -120,7 +120,8 @@ class LegacyTest(BaseTest):
|
||||
for attr in dir(db):
|
||||
if attr in SKIP_ATTRS:
|
||||
continue
|
||||
self.assertTrue(hasattr(ndb, attr), 'The attribute %s is missing' % attr)
|
||||
if not hasattr(ndb, attr):
|
||||
raise AssertionError('The attribute %s is missing' % attr)
|
||||
obj, nobj = getattr(db, attr), getattr(ndb, attr)
|
||||
if attr not in SKIP_ARGSPEC:
|
||||
try:
|
||||
|
Loading…
x
Reference in New Issue
Block a user