diff --git a/acceptance/bundle/python/restricted-execution/output.txt b/acceptance/bundle/python/restricted-execution/output.txt index 77c658ae21..48f2127f1f 100644 --- a/acceptance/bundle/python/restricted-execution/output.txt +++ b/acceptance/bundle/python/restricted-execution/output.txt @@ -13,10 +13,12 @@ value_from_env === With DATABRICKS_BUNDLE_RESTRICTED_CODE_EXECUTION=1, no envs are accessible ->>> errcode uv run [UV_ARGS] -q [CLI] bundle summary +>>> musterr uv run [UV_ARGS] -q [CLI] bundle summary Error: Running Python code is not allowed when DATABRICKS_BUNDLE_RESTRICTED_CODE_EXECUTION is set -Exit code: 1 +Exit code (musterr): 1 + +>>> musterr cat envs.txt cat: envs.txt: No such file or directory -Exit code: 1 +Exit code (musterr): 1 diff --git a/acceptance/bundle/python/restricted-execution/script b/acceptance/bundle/python/restricted-execution/script index 07bb754467..e738f1c7d9 100644 --- a/acceptance/bundle/python/restricted-execution/script +++ b/acceptance/bundle/python/restricted-execution/script @@ -10,7 +10,7 @@ rm -rf envs.txt export DATABRICKS_BUNDLE_RESTRICTED_CODE_EXECUTION=1 title "With DATABRICKS_BUNDLE_RESTRICTED_CODE_EXECUTION=1, no envs are accessible" -trace errcode uv run $UV_ARGS -q $CLI bundle summary | jq '.experimental' -errcode cat envs.txt +trace musterr uv run $UV_ARGS -q $CLI bundle summary +trace musterr cat envs.txt rm -fr .databricks __pycache__