summaryrefslogtreecommitdiff
path: root/tests/unit/engines
diff options
context:
space:
mode:
authorMarc Abonce Seguin <marc-abonce@mailbox.org>2019-04-13 00:17:32 -0500
committerMarc Abonce Seguin <marc-abonce@mailbox.org>2019-04-13 00:38:37 -0500
commit3e1c2153f75adbf3e5d9eab0b0d4e567893e8d64 (patch)
tree09ae4868d930940abc52ee60b7b5fc8edc9d3d57 /tests/unit/engines
parent34d85c8c3c2191818544ecd5e6c0508590657a2b (diff)
downloadsearxng-3e1c2153f75adbf3e5d9eab0b0d4e567893e8d64.tar.gz
searxng-3e1c2153f75adbf3e5d9eab0b0d4e567893e8d64.zip
[fix] duckduckgo images requests
Diffstat (limited to 'tests/unit/engines')
-rw-r--r--tests/unit/engines/test_duckduckgo_images.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/engines/test_duckduckgo_images.py b/tests/unit/engines/test_duckduckgo_images.py
index 7a7657cd5..0d152bec1 100644
--- a/tests/unit/engines/test_duckduckgo_images.py
+++ b/tests/unit/engines/test_duckduckgo_images.py
@@ -41,7 +41,7 @@ class TestDuckduckgoImagesEngine(SearxTestCase):
self.assertRaises(AttributeError, duckduckgo_images.response, '[]')
response = mock.Mock(text='If this error persists, please let us know: ops@duckduckgo.com')
- self.assertEqual(duckduckgo_images.response(response), [])
+ self.assertRaises(Exception, duckduckgo_images.response, response)
json = u"""
{