chore: commit workspace changes

This commit is contained in:
huanghuoguoguo
2026-06-10 22:46:13 +08:00
parent 86ec12a391
commit c10ce6cc2e
17 changed files with 483 additions and 231 deletions

View File

@@ -56,6 +56,10 @@ def test_wrap_python_command_with_env_contains_bootstrap_and_command():
assert '_LB_SYSTEM_PYTHON="$(command -v python3 || command -v python || true)"' in command
assert '"$_LB_SYSTEM_PYTHON" -m venv "$_LB_VENV_DIR"' in command
assert 'Clearing stale Python environment lock without owner: $_LB_LOCK_DIR' in command
assert 'clearing stale lock: $_LB_LOCK_DIR' in command
assert 'printf \'%s\\n\' "$$" > "$_LB_LOCK_DIR/pid"' in command
assert 'rm -rf "$_LB_LOCK_DIR"' in command
assert 'export VIRTUAL_ENV="$_LB_VENV_DIR"' in command
assert command.rstrip().endswith('python script.py')