fix(tests): auto-derive unique port+state-dir per worktree (fixes parallel pytest)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
"""Sprint 4 tests: relocation, session rename, search, file ops, validation."""
|
||||
import json, pathlib, uuid, urllib.request, urllib.error
|
||||
|
||||
BASE = "http://127.0.0.1:8788" # test server (isolated from production)
|
||||
from tests._pytest_port import BASE
|
||||
|
||||
def get(path):
|
||||
with urllib.request.urlopen(BASE + path, timeout=10) as r:
|
||||
|
||||
Reference in New Issue
Block a user