mirror of
https://github.com/searxng/searxng.git
synced 2025-08-03 02:22:22 +02:00
[enh] add checker
This commit is contained in:
parent
f7e11fd722
commit
8cbc9f2d58
11 changed files with 539 additions and 2 deletions
|
@ -55,3 +55,13 @@ class OnlineCurrencyProcessor(OnlineProcessor):
|
|||
params['from_name'] = iso4217_to_name(from_currency, 'en')
|
||||
params['to_name'] = iso4217_to_name(to_currency, 'en')
|
||||
return params
|
||||
|
||||
def get_default_tests(self):
|
||||
tests = {}
|
||||
|
||||
tests['currency'] = {
|
||||
'matrix': {'query': '1337 usd in rmb'},
|
||||
'result_container': ['has_answer'],
|
||||
}
|
||||
|
||||
return tests
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue