summaryrefslogtreecommitdiff
path: root/searx/search/checker/impl.py
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2022-09-27 17:01:00 +0200
committerMarkus Heiser <markus.heiser@darmarit.de>2022-09-27 18:32:14 +0200
commitba8959ad7c18ce4165d29b7a472d845bd96f4735 (patch)
tree70da2e25a94588348fd5e66890a4a9fceb9e1ff2 /searx/search/checker/impl.py
parent94c4cc126b16d4cd1653c410df63af4bc0a4e998 (diff)
[fix] typos / reported by @kianmeng in searx PR-3366
[PR-3366] https://github.com/searx/searx/pull/3366 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'searx/search/checker/impl.py')
-rw-r--r--searx/search/checker/impl.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/searx/search/checker/impl.py b/searx/search/checker/impl.py
index bc5cdf968..0705b6822 100644
--- a/searx/search/checker/impl.py
+++ b/searx/search/checker/impl.py
@@ -174,7 +174,7 @@ class TestResults:
self.languages.add(language)
@property
- def succesfull(self):
+ def successful(self):
return len(self.errors) == 0
def __iter__(self):
@@ -317,7 +317,7 @@ class ResultContainerTests:
self._record_error('No result')
def one_title_contains(self, title: str):
- """Check one of the title contains `title` (case insensitive comparaison)"""
+ """Check one of the title contains `title` (case insensitive comparison)"""
title = title.lower()
for result in self.result_container.get_ordered_results():
if title in result['title'].lower():