Skip to content

Commit 0ca79d6

Browse files
committed
test: remove bun install
1 parent 0992017 commit 0ca79d6

File tree

1 file changed

+2
-17
lines changed

1 file changed

+2
-17
lines changed

tests/conftest.py

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
from __future__ import annotations
44

55
import os
6-
import shutil
76
import socket
87
import subprocess
98
import time
@@ -61,30 +60,16 @@ def test_mcp_integration(mcp_mock_server):
6160
if not vendor_dir.exists():
6261
pytest.skip("stackone-ai-node submodule not found. Run 'git submodule update --init'")
6362

64-
# Check for bun runtime
65-
bun_path = shutil.which("bun")
66-
if not bun_path:
67-
pytest.skip("bun not found. Install via Nix flake.")
68-
63+
# find port
6964
port = _find_free_port()
7065
base_url = f"http://localhost:{port}"
7166

72-
# Install dependencies if needed
73-
node_modules = vendor_dir / "node_modules"
74-
if not node_modules.exists():
75-
subprocess.run(
76-
[bun_path, "install"],
77-
cwd=vendor_dir,
78-
check=True,
79-
capture_output=True,
80-
)
81-
8267
# Start the server from project root
8368
env = os.environ.copy()
8469
env["PORT"] = str(port)
8570

8671
process = subprocess.Popen(
87-
[bun_path, "run", str(serve_script)],
72+
[str(serve_script)],
8873
cwd=project_root,
8974
env=env,
9075
stdout=subprocess.PIPE,

0 commit comments

Comments
 (0)