Currency converter's unit test + DDG correction

Does anyone know how to trigger the except in the currency converter while still being matched by the regex ?
This commit is contained in:
Cqoicebordel 2015-02-02 18:39:50 +01:00
parent efe6dead55
commit 1ea5bc63a5
3 changed files with 46 additions and 1 deletions

View file

@ -4,7 +4,7 @@ from searx.engines import duckduckgo
from searx.testing import SearxTestCase
class TestBingEngine(SearxTestCase):
class TestDuckduckgoEngine(SearxTestCase):
def test_request(self):
query = 'test_query'