replace popular/ranking tests with older ones

Metadata of several year old lists shouldn't change as much as it
would for newer ones, which makes metadata-comparisons of the output
of build_testresult_db.oy easier.
This commit is contained in:
Mike Fährmann
2017-08-31 15:09:18 +02:00
parent be30fb2f98
commit 65997d835b
6 changed files with 10 additions and 10 deletions

View File

@@ -32,6 +32,9 @@ class TestExtractors(unittest.TestCase):
self.assertEqual(extr, tjob.extractor.__class__)
if not result:
return
if "options" in result:
for key, value in result["options"]:
config.set(key, value)
if "exception" in result:
self.assertRaises(result["exception"], tjob.run)
return
@@ -63,9 +66,7 @@ skip = [
"exhentai", "kissmanga", "mangafox", "dynastyscans", "nijie",
"archivedmoe", "archiveofsins", "thebarchive",
# temporary issues
"imgtrex", # 504
"e621",
"3dbooru",
"luscious", # ssl cert issues
]
# enable selective testing for direct calls
if __name__ == '__main__' and len(sys.argv) > 1: