diff options
| author | 2019-08-04 17:52:59 -0400 | |
|---|---|---|
| committer | 2019-08-04 17:52:59 -0400 | |
| commit | 64ad8e7bd15df71ab1116eede414558631bcad32 (patch) | |
| tree | 7416e191aedce591087903a943198aed13fa0b26 /test | |
| parent | 2a63a9c9b7032a76894c48ac4d9cea732fcaee49 (diff) | |
New upstream version 1.10.1upstream/1.10.1
Diffstat (limited to 'test')
| -rw-r--r-- | test/test_results.py | 7 | ||||
| -rw-r--r-- | test/test_text.py | 20 |
2 files changed, 5 insertions, 22 deletions
diff --git a/test/test_results.py b/test/test_results.py index 41390a8..839a75c 100644 --- a/test/test_results.py +++ b/test/test_results.py @@ -26,9 +26,12 @@ TRAVIS_SKIP = { # temporary issues, etc. BROKEN = { - "komikcast", - "konachan", + "adultempire", + "flickr", + "imgth", + "mangafox", "mangapark", + "pixnet", } diff --git a/test/test_text.py b/test/test_text.py index 405acd3..6a6d83a 100644 --- a/test/test_text.py +++ b/test/test_text.py @@ -139,26 +139,6 @@ class TestText(unittest.TestCase): for value in INVALID: self.assertEqual(f(value), empty) - def test_clean_path_windows(self, f=text.clean_path_windows): - self.assertEqual(f(""), "") - self.assertEqual(f("foo"), "foo") - self.assertEqual(f("foo/bar"), "foo_bar") - self.assertEqual(f("foo<>:\"\\/|?*bar"), "foo_________bar") - - # invalid arguments - for value in INVALID: - self.assertEqual(f(value), "") - - def test_clean_path_posix(self, f=text.clean_path_posix): - self.assertEqual(f(""), "") - self.assertEqual(f("foo"), "foo") - self.assertEqual(f("foo/bar"), "foo_bar") - self.assertEqual(f("foo<>:\"\\/|?*bar"), "foo<>:\"\\_|?*bar") - - # invalid arguments - for value in INVALID: - self.assertEqual(f(value), "") - def test_extract(self, f=text.extract): txt = "<a><b>" self.assertEqual(f(txt, "<", ">"), ("a" , 3)) |
