mirror of
https://github.com/searxng/searxng.git
synced 2025-07-23 05:09:17 +02:00
[feat] implement feeling lucky feature
This commit is contained in:
parent
71508abcbf
commit
dcee823345
6 changed files with 35 additions and 20 deletions
|
@ -27,7 +27,7 @@ class SearchQueryTestCase(SearxTestCase):
|
|||
def test_repr(self):
|
||||
s = SearchQuery('test', [EngineRef('bing', 'general')], 'all', 0, 1, '1', 5.0, 'g')
|
||||
self.assertEqual(
|
||||
repr(s), "SearchQuery('test', [EngineRef('bing', 'general')], 'all', 0, 1, '1', 5.0, 'g')"
|
||||
repr(s), "SearchQuery('test', [EngineRef('bing', 'general')], 'all', 0, 1, '1', 5.0, 'g', None)"
|
||||
) # noqa
|
||||
|
||||
def test_eq(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue