From a904bf28152335f08ac335da4089bb073df41344 Mon Sep 17 00:00:00 2001 From: Felix Fontein Date: Sun, 16 Nov 2025 07:13:53 +0100 Subject: [PATCH] Adjust error message check. --- .../targets/docker_image_push/tasks/tests/registry.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/integration/targets/docker_image_push/tasks/tests/registry.yml b/tests/integration/targets/docker_image_push/tasks/tests/registry.yml index db44e7d4..b46d7c71 100644 --- a/tests/integration/targets/docker_image_push/tasks/tests/registry.yml +++ b/tests/integration/targets/docker_image_push/tasks/tests/registry.yml @@ -80,4 +80,6 @@ that: - push_4 is failed - >- - push_4.msg == ('Error pushing image ' ~ image_name_base2 ~ ':' ~ image_tag ~ ': no basic auth credentials') + push_4.msg.startswith('Error pushing image ' ~ image_name_base2 ~ ':' ~ image_tag ~ ': ') + - >- + push_4.msg.endswith(': no basic auth credentials')