mirror of
https://github.com/nextcloud/nextcloudpi.git
synced 2026-01-10 15:12:01 -03:30
nextcloud_tests.py: Fix detection of non-critical warnings
Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com>
This commit is contained in:
parent
f93c183ecc
commit
fa1c0c7f81
@ -151,10 +151,7 @@ def test_nextcloud(IP, nc_port, driver):
|
||||
continue
|
||||
else:
|
||||
|
||||
# if len(infos) != 1:
|
||||
# raise ConfigTestFailure("Warnings are shown, but there isn't exactly one info message")
|
||||
|
||||
php_modules = infos[0].find_elements_by_css_selector("li")
|
||||
php_modules = info.find_elements_by_css_selector("li")
|
||||
if len(php_modules) != 1:
|
||||
raise ConfigTestFailure(f"Could not find the list of php modules within the info message "
|
||||
f"'{infos[0].text}'")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user