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

@@ -69,8 +69,22 @@ You can also run a single test like this:
pytest -n0 -s tests/test_secrets_cli.py::test_users
```
## Run tests in nix container
Run all impure checks
```console
nix run .#impure-checks
```
Run all checks
```console
nix flake check
```
## Debugging functions
Debugging functions can be found under `src/debug.py`
quite interesting is the function repro_env_break() which drops you into a shell
quite interesting is the function breakpoint_shell() which drops you into a shell
with the test environment loaded.