disable unique archive id checks for some tests

- same image twice in a livedoor blog post
- unreliable results for related pinterest items
This commit is contained in:
Mike Fährmann
2019-11-10 17:03:38 +01:00
parent 67e54ed8ea
commit da6789b2b0
5 changed files with 16 additions and 8 deletions

View File

@@ -27,7 +27,6 @@ TRAVIS_SKIP = {
# temporary issues, etc.
BROKEN = {
"hentaifox",
"livedoor",
"mangapark",
"yaplog",
}
@@ -85,8 +84,12 @@ class TestExtractorResults(unittest.TestCase):
self.skipTest(exc)
raise
# test archive-id uniqueness
self.assertEqual(len(set(tjob.archive_list)), len(tjob.archive_list))
if result.get("archive", True):
self.assertEqual(
len(set(tjob.archive_list)),
len(tjob.archive_list),
"archive-id uniqueness",
)
if tjob.queue:
# test '_extractor' entries