mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
[fix] tests
This commit is contained in:
parent
8806002886
commit
043b269c6e
4 changed files with 4 additions and 4 deletions
|
|
@ -40,5 +40,5 @@ class TestCurrencyConvertEngine(SearxTestCase):
|
|||
self.assertEqual(len(results), 1)
|
||||
self.assertEqual(results[0]['answer'], '10 EUR = 5.0 USD (1 EUR = 0.5 USD)')
|
||||
now_date = datetime.now().strftime('%Y%m%d')
|
||||
self.assertEqual(results[0]['url'], 'http://finance.yahoo.com/currency/converter-results/' +
|
||||
self.assertEqual(results[0]['url'], 'https://finance.yahoo.com/currency/converter-results/' +
|
||||
now_date + '/10-eur-to-usd.html')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue