Fixed test_webui only failing in nix_sandbox
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user