summaryrefslogtreecommitdiffstats
path: root/test/test_results.py
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@ubuntu.com>2019-07-20 05:51:44 -0400
committerLibravatarUnit 193 <unit193@ubuntu.com>2019-07-20 05:51:44 -0400
commit2a63a9c9b7032a76894c48ac4d9cea732fcaee49 (patch)
tree3d5f633ff69cd393036a3dabc4d4533c8484f9ad /test/test_results.py
parent195c45911e79c33cf0bb986721365fb06df5a153 (diff)
New upstream version 1.9.0upstream/1.9.0
Diffstat (limited to 'test/test_results.py')
-rw-r--r--test/test_results.py12
1 files changed, 8 insertions, 4 deletions
diff --git a/test/test_results.py b/test/test_results.py
index 8f03f03..41390a8 100644
--- a/test/test_results.py
+++ b/test/test_results.py
@@ -27,6 +27,7 @@ TRAVIS_SKIP = {
# temporary issues, etc.
BROKEN = {
"komikcast",
+ "konachan",
"mangapark",
}
@@ -161,9 +162,10 @@ class ResultJob(job.DownloadJob):
self.hash_keyword = hashlib.sha1()
self.hash_archive = hashlib.sha1()
self.hash_content = hashlib.sha1()
+
if content:
self.fileobj = TestPathfmt(self.hash_content)
- self.get_downloader("http")._check_extension = lambda a, b: None
+ self.get_downloader("http").check_extension = lambda a, b: None
self.format_directory = TestFormatter(
"".join(self.extractor.directory_fmt))
@@ -217,6 +219,7 @@ class TestPathfmt():
self.hashobj = hashobj
self.path = ""
self.size = 0
+ self.keywords = {}
self.has_extension = True
def __enter__(self):
@@ -279,9 +282,10 @@ def setup_test_config():
config.set(("extractor", "password"), name)
config.set(("extractor", "nijie", "username"), email)
config.set(("extractor", "seiga", "username"), email)
- config.set(("extractor", "danbooru", "username"), None)
- config.set(("extractor", "twitter" , "username"), None)
- config.set(("extractor", "mangoxo" , "password"), "VZ8DL3983u")
+ config.set(("extractor", "danbooru" , "username"), None)
+ config.set(("extractor", "instagram", "username"), None)
+ config.set(("extractor", "twitter" , "username"), None)
+ config.set(("extractor", "mangoxo" , "password"), "VZ8DL3983u")
config.set(("extractor", "deviantart", "client-id"), "7777")
config.set(("extractor", "deviantart", "client-secret"),