diff options
Diffstat (limited to 'test')
| -rw-r--r-- | test/test_results.py | 7 | ||||
| -rw-r--r-- | test/test_util.py | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/test/test_results.py b/test/test_results.py index a594032..d54017e 100644 --- a/test/test_results.py +++ b/test/test_results.py @@ -25,13 +25,14 @@ TRAVIS_SKIP = { "exhentai", "mangafox", "dynastyscans", "nijie", "instagram", "ngomik", "archivedmoe", "archiveofsins", "thebarchive", "fireden", "4plebs", "sankaku", "idolcomplex", "mangahere", "mangadex", "sankakucomplex", - "warosu", "fuskator", "patreon", "komikcast", + "warosu", "fuskator", "patreon", "komikcast", "twitter", } # temporary issues, etc. BROKEN = { + "imgbox", "imagevenue", - "ngomik", + "mangapanda", "photobucket", } @@ -296,6 +297,7 @@ class TestFormatter(util.Formatter): def setup_test_config(): name = "gallerydl" email = "gallerydl@openaliasbox.org" + email2 = "gallerydl@protonmail.com" config.clear() config.set(("cache",), "file", None) @@ -307,6 +309,7 @@ def setup_test_config(): config.set(("extractor", "nijie") , "username", email) config.set(("extractor", "seiga") , "username", email) + config.set(("extractor", "pinterest") , "username", email2) config.set(("extractor", "newgrounds"), "username", "d1618111") config.set(("extractor", "newgrounds"), "password", "d1618111") diff --git a/test/test_util.py b/test/test_util.py index 1515814..08ecd64 100644 --- a/test/test_util.py +++ b/test/test_util.py @@ -265,6 +265,7 @@ class TestFormatter(unittest.TestCase): "d": {"a": "foo", "b": 0, "c": None}, "l": ["a", "b", "c"], "n": None, + "s": " \n\r\tSPACE ", "u": "%27%3C%20/%20%3E%27", "name": "Name", "title1": "Title", @@ -278,6 +279,7 @@ class TestFormatter(unittest.TestCase): self._run_test("{a!u}", "HELLO WORLD") self._run_test("{a!c}", "Hello world") self._run_test("{a!C}", "Hello World") + self._run_test("{s!t}", "SPACE") self._run_test("{a!U}", self.kwdict["a"]) self._run_test("{u!U}", "'< / >'") self._run_test("{a!s}", self.kwdict["a"]) |
