From 1482725bd423ccdeb67549a0adbcdf43005a3cfe Mon Sep 17 00:00:00 2001 From: ckunki Date: Mon, 11 Mar 2024 13:05:34 +0100 Subject: [PATCH] Adapted expected error message to CI build --- test/integration/test_create_dss_docker_image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/test_create_dss_docker_image.py b/test/integration/test_create_dss_docker_image.py index 28e223a8..6e0b211b 100644 --- a/test/integration/test_create_dss_docker_image.py +++ b/test/integration/test_create_dss_docker_image.py @@ -160,5 +160,5 @@ def my_container(docker_socket_host): exit_code, output = c.exec_run(f"docker ps") output = output.decode("utf-8").strip() assert exit_code == 1 and \ - re.find(r"(Cannot connect|permissions denied)" in output and \ + re.match(r"(Cannot connect|permission denied)", output) and \ stat_before == socket_on_host.stat()