diff --git a/tests/integration/omd/test_apache.py b/tests/integration/omd/test_apache.py index 7d87d8c01e7..48597c5c9b8 100644 --- a/tests/integration/omd/test_apache.py +++ b/tests/integration/omd/test_apache.py @@ -26,7 +26,7 @@ def test_http_methods(site: Site) -> None: apache_log_file = check_output(["cat", site.path("var/log/apache/access_log")]) for line in apache_log_file.splitlines(): if re.match( - r'^.*"PROPFIND /\w+/check_mk/ HTTP/1.1" 405 \d+ "-" "' + user_agent + '"$', + r'^.*"PROPFIND /\w+/check_mk/ HTTP/1.1" 405 \d+ "-" "' + user_agent, line, ): return