| Write-Host "Activating venv and running backend.integration_test" | |
| if (-not (Test-Path ".\.venv\Scripts\Activate.ps1")) { | |
| Write-Error "Virtualenv not found at .\.venv. Create it with: python -m venv .venv"; exit 1 | |
| } | |
| .& .\.venv\Scripts\Activate.ps1 | |
| python -m backend.integration_test | |