From 4d1770398a6af8902e75c0bd885781584d39e796 Mon Sep 17 00:00:00 2001 From: marc Date: Thu, 20 Jul 2017 15:47:20 -0500 Subject: remove 'all' option from search languages --- tests/unit/engines/test_subtitleseeker.py | 36 ------------------------------- 1 file changed, 36 deletions(-) (limited to 'tests/unit/engines/test_subtitleseeker.py') diff --git a/tests/unit/engines/test_subtitleseeker.py b/tests/unit/engines/test_subtitleseeker.py index a22ee74b9..96b253943 100644 --- a/tests/unit/engines/test_subtitleseeker.py +++ b/tests/unit/engines/test_subtitleseeker.py @@ -73,42 +73,6 @@ class TestSubtitleseekerEngine(SearxTestCase): results = subtitleseeker.response(response) self.assertEqual(results[0]['url'], 'http://this.is.the.url/Brazilian/') - html = """ -
- -
- 1998 -
-
- - 1039 Subs -
-
- - 1 hours ago -
-
-
- """ - dicto['language'] = 'all' - response = mock.Mock(text=html, search_params=dicto) - results = subtitleseeker.response(response) - self.assertEqual(type(results), list) - self.assertEqual(len(results), 1) - self.assertEqual(results[0]['title'], 'This is the Title') - self.assertEqual(results[0]['url'], 'http://this.is.the.url/') - self.assertIn('1998', results[0]['content']) - self.assertIn('1039 Subs', results[0]['content']) - html = """
-- cgit v1.2.3