Fixed test_webui only failing in nix_sandbox

This commit is contained in:
Qubasa
2023-10-29 19:35:29 +01:00
parent 63a0adb678
commit 1fef2d1732
11 changed files with 146 additions and 26 deletions

View File

@@ -0,0 +1,7 @@
#!/usr/bin/env bash
set -xeuo pipefail
PID_NIX=$(pgrep --full "python -m pytest" | cut -d " " -f2 | head -n1)
sudo cntr attach "$PID_NIX"