Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/nextcloudpi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias K <6317548+theCalcaholic@users.noreply.github.com>2021-08-06 11:51:02 +0300
committernachoparker <nacho@ownyourbits.com>2021-08-10 02:16:38 +0300
commitfa1c0c7f814c2a33c22b40b2a9f911f93d9f10f2 (patch)
tree1ba011d792432bf1ac5888a7d42f854a6a65f9bb
parentf93c183eccdf50f3b035dfc6bbc196a625bfb8f9 (diff)
nextcloud_tests.py: Fix detection of non-critical warnings
Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com>
-rwxr-xr-xtests/nextcloud_tests.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/nextcloud_tests.py b/tests/nextcloud_tests.py
index 7f616711..d176fe76 100755
--- a/tests/nextcloud_tests.py
+++ b/tests/nextcloud_tests.py
@@ -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}'")