Skip to content

Commit

Permalink
Adapted expected error message to CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
ckunki committed Mar 11, 2024
1 parent 71e3504 commit 1482725
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/test_create_dss_docker_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

0 comments on commit 1482725

Please sign in to comment.