diff options
author | Tobias K <6317548+theCalcaholic@users.noreply.github.com> | 2021-08-06 11:51:02 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2021-08-10 02:16:38 +0300 |
commit | fa1c0c7f814c2a33c22b40b2a9f911f93d9f10f2 (patch) | |
tree | 1ba011d792432bf1ac5888a7d42f854a6a65f9bb | |
parent | f93c183eccdf50f3b035dfc6bbc196a625bfb8f9 (diff) |
nextcloud_tests.py: Fix detection of non-critical warnings
Signed-off-by: Tobias K <6317548+theCalcaholic@users.noreply.github.com>
-rwxr-xr-x | tests/nextcloud_tests.py | 5 |
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}'") |