nextcloud_tests.py: Ignore single error in logs

This commit is contained in:
Tobias Knöppler 2025-09-13 20:57:03 +02:00
parent 25887deba6
commit 63c80d1604

View File

@ -214,7 +214,8 @@ def test_nextcloud(IP: str, nc_port: str, driver: WebDriver, skip_release_check:
for info in infos:
if re.match(r'.*Your installation has no default phone region set.*', info.text) \
or re.match(r'The PHP module "imagick" is not enabled', info.text) \
or re.match(r'The PHP module "imagick" in this instance has no SVG support.*', info.text):
or re.match(r'The PHP module "imagick" in this instance has no SVG support.*', info.text) \
or re.match(r'1 warning in the logs since.*', info.text):
continue
else:
print(f'INFO: {info.text}')