From f9bd87d785693e06f263a79c288a179fa54fd7ae Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 12 Jul 2013 10:29:56 +0530 Subject: [PATCH] Ignore unused feeds API --- src/calibre/db/tests/legacy.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/calibre/db/tests/legacy.py b/src/calibre/db/tests/legacy.py index a94e59d17f..dd9cbc2dc5 100644 --- a/src/calibre/db/tests/legacy.py +++ b/src/calibre/db/tests/legacy.py @@ -210,6 +210,8 @@ class LegacyTest(BaseTest): SKIP_ATTRS = { 'TCat_Tag', '_add_newbook_tag', '_clean_identifier', '_library_id_', '_set_authors', '_set_title', '_set_custom', '_update_author_in_cache', + # Feeds are now stored in the config folder + 'get_feeds', 'get_feed', 'update_feed', 'remove_feeds', 'add_feed', 'set_feeds', } SKIP_ARGSPEC = { '__init__', 'get_next_series_num_for', 'has_book', 'author_sort_from_authors', @@ -241,7 +243,7 @@ class LegacyTest(BaseTest): if missing: pc = len(missing)/total - raise AssertionError('{0:.1%} of API ({2} attrs) are missing. For example: {1}'.format(pc, missing[0], len(missing))) + raise AssertionError('{0:.1%} of API ({2} attrs) are missing. For example: {1}'.format(pc, ', '.join(missing[:5]), len(missing))) # }}}