Commit 0da4005
committed
fix: use pytest's venv for crossbar in functional tests
The previous fix incorrectly used the virtualenv fixture path for the
crossbar executable. That fixture creates a temp venv for component
isolation (when --no-install is not used), but the crossbar CLI is in
the venv running pytest (sys.executable's directory).
Both start_crossbar() and start_cfx() now derive the crossbar path from
sys.executable, avoiding both:
1. The snap /snap/bin/crossbar interference on Ubuntu
2. Missing crossbar in the temp virtualenv fixture
Note: This work was completed with AI assistance (Claude Code).1 parent 4dc0942 commit 0da4005
1 file changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
327 | 327 | | |
328 | 328 | | |
329 | 329 | | |
330 | | - | |
331 | | - | |
332 | | - | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
333 | 336 | | |
334 | 337 | | |
335 | 338 | | |
| |||
0 commit comments