Skip to content

Commit d88a3cd

Browse files
committed
Use sys.executable in e2e test fixture
1 parent 05d4d97 commit d88a3cd

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎tests/e2e/conftest.py‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import io
66
import os
77
from pathlib import Path
8+
import sys
89
from typing import cast
910

1011
import pexpect
@@ -61,8 +62,8 @@ def spawned_vibe_process() -> SpawnedVibeFactory:
6162
def spawn(workdir: Path) -> SpawnedVibeContext:
6263
captured = io.StringIO()
6364
child = pexpect.spawn(
64-
"uv",
65-
["run", "albert-code", "--workdir", str(workdir)],
65+
sys.executable,
66+
["-m", "albert_code.cli.entrypoint", "--workdir", str(workdir)],
6667
cwd=str(TESTS_ROOT.parent),
6768
env=os.environ,
6869
encoding="utf-8",

0 commit comments

Comments
 (0)