summaryrefslogtreecommitdiff
path: root/tests/unit/engines/test_dailymotion.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/engines/test_dailymotion.py')
-rw-r--r--tests/unit/engines/test_dailymotion.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/unit/engines/test_dailymotion.py b/tests/unit/engines/test_dailymotion.py
index 803b5c4d2..ad7f3d283 100644
--- a/tests/unit/engines/test_dailymotion.py
+++ b/tests/unit/engines/test_dailymotion.py
@@ -19,6 +19,10 @@ class TestDailymotionEngine(SearxTestCase):
self.assertTrue('dailymotion.com' in params['url'])
self.assertTrue('fr' in params['url'])
+ dicto['language'] = 'all'
+ params = dailymotion.request(query, dicto)
+ self.assertTrue('en' in params['url'])
+
def test_response(self):
self.assertRaises(AttributeError, dailymotion.response, None)
self.assertRaises(AttributeError, dailymotion.response, [])