summaryrefslogtreecommitdiff
path: root/tests/unit/test_webapp.py
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2023-06-18 16:43:48 +0200
committerMarkus Heiser <markus.heiser@darmarIT.de>2023-06-19 19:49:44 +0200
commitfa1ef9a07b79ab740c127bac0d11b8315a5130ff (patch)
tree80306333c2e5a13a0b3a286e7dad7b5df633689e /tests/unit/test_webapp.py
parent71b6ff07ca137a39576c3084abec348ded40564e (diff)
downloadsearxng-fa1ef9a07b79ab740c127bac0d11b8315a5130ff.tar.gz
searxng-fa1ef9a07b79ab740c127bac0d11b8315a5130ff.zip
[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_webapp.py')
-rw-r--r--tests/unit/test_webapp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/test_webapp.py b/tests/unit/test_webapp.py
index 1c8f8a403..948b40aee 100644
--- a/tests/unit/test_webapp.py
+++ b/tests/unit/test_webapp.py
@@ -69,7 +69,7 @@ class ViewsTestCase(SearxTestCase):
infoboxes=[],
unresponsive_engines=set(),
results=test_results,
- results_number=lambda: 3,
+ number_of_results=3,
results_length=lambda: len(test_results),
get_timings=lambda: timings,
redirect_url=None,