From d71f84457ac560dcdf9d55c181d6b69820a8fd6b Mon Sep 17 00:00:00 2001 From: Alexander Tarasov Date: Wed, 30 Sep 2026 20:47:54 +0200 Subject: [PATCH] test(integration): Check the enhance-image marker with python instead of bash The last two bash invocations inside sentry containers in the integration tests. --- _integration-test/test_01_basics.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/_integration-test/test_01_basics.py b/_integration-test/test_01_basics.py index 9001199535d..72d103dced8 100644 --- a/_integration-test/test_01_basics.py +++ b/_integration-test/test_01_basics.py @@ -669,9 +669,9 @@ def test_customizations(): "run", "--no-deps", "web", - "bash", + "python", "-c", - "if [ ! -e /created-by-enhance-image ]; then exit 1; fi", + "import os; assert os.path.exists('/created-by-enhance-image')", ], [ "docker", @@ -682,9 +682,9 @@ def test_customizations(): "--no-deps", "--entrypoint=/etc/sentry/entrypoint.sh", "sentry-cleanup", - "bash", + "python", "-c", - "if [ ! -e /created-by-enhance-image ]; then exit 1; fi", + "import os; assert os.path.exists('/created-by-enhance-image')", ], [ "docker",