mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-16 02:36:03 +00:00
chore: commit workspace changes
This commit is contained in:
@@ -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')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user