mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
searx: Convert functional tests to non-BDD python format
Signed-off-by: James Valleroy <jvalleroy@mailbox.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
1 parent
60236376c2
commit
6aecad7259
3 files changed
+65
-67
No files matched your search
@@ -419,6 +419,11 @@ def find_on_front_page(browser, app_name):
|
||||
return shortcuts
|
||||
|
||||
|
||||
def is_visible_on_front_page(browser, app_name):
|
||||
shortcuts = find_on_front_page(browser, app_name)
|
||||
return len(shortcuts) == 1
|
||||
|
||||
|
||||
####################
|
||||
# Daemon utilities #
|
||||
####################
|
||||
|
||||
Reference in new issue
Block a user