mirror of
https://github.com/nextcloud/nextcloudpi.git
synced 2026-01-09 14:42:01 -03:30
nextcloud_tests.py: Ignore single error in logs
This commit is contained in:
parent
25887deba6
commit
63c80d1604
@ -214,7 +214,8 @@ def test_nextcloud(IP: str, nc_port: str, driver: WebDriver, skip_release_check:
|
|||||||
for info in infos:
|
for info in infos:
|
||||||
if re.match(r'.*Your installation has no default phone region set.*', info.text) \
|
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" 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
|
continue
|
||||||
else:
|
else:
|
||||||
print(f'INFO: {info.text}')
|
print(f'INFO: {info.text}')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user