diff options
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)) |
