aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/requests/main_web_functionality.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/requests/main_web_functionality.py b/test/requests/main_web_functionality.py
index 79f37bb4..40336f47 100644
--- a/test/requests/main_web_functionality.py
+++ b/test/requests/main_web_functionality.py
@@ -7,7 +7,7 @@ def check_home(url):
results = requests.get(url)
doc = document_fromstring(results.text)
search_button = doc.cssselect("#btsearch")
- assert(search_button[0].value == "Search")
+ assert("Search" in ''.join(search_button[0].text_content()))
print("OK")
def check_search_page(host):