diff options
| author | Markus Heiser <markus.heiser@darmarit.de> | 2023-06-18 16:43:48 +0200 |
|---|---|---|
| committer | Markus Heiser <markus.heiser@darmarIT.de> | 2023-06-19 19:49:44 +0200 |
| commit | fa1ef9a07b79ab740c127bac0d11b8315a5130ff (patch) | |
| tree | 80306333c2e5a13a0b3a286e7dad7b5df633689e /tests/unit/test_standalone_searx.py | |
| parent | 71b6ff07ca137a39576c3084abec348ded40564e (diff) | |
[mod] move some code from webapp module to webutils module (no functional change)
Over the years the webapp module became more and more a mess. To improve the
modulaization a little this patch moves some implementations from the webapp
module to webutils module.
HINT: this patch brings non functional change
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'tests/unit/test_standalone_searx.py')
| -rw-r--r-- | tests/unit/test_standalone_searx.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/test_standalone_searx.py b/tests/unit/test_standalone_searx.py index a3d8b4d4f..6a450485f 100644 --- a/tests/unit/test_standalone_searx.py +++ b/tests/unit/test_standalone_searx.py @@ -57,7 +57,7 @@ class StandaloneSearx(SearxTestCase): 'suggestions': [], 'answers': [], 'paging': False, - 'results_number': 0, + 'number_of_results': 0, }, ) @@ -73,7 +73,7 @@ class StandaloneSearx(SearxTestCase): 'infoboxes': m_search.infoboxes, 'paging': m_search.paging, 'results': m_search.get_ordered_results(), - 'results_number': m_search.results_number(), + 'number_of_results': m_search.number_of_results, 'search': { 'lang': m_sq.lang, 'pageno': m_sq.pageno, |