0
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-12 05:16:25 +03:00

pytestCheckHook: Add disabledTestFiles option

This commit is contained in:
Sandro Jäckel 2021-01-06 00:32:27 +01:00 committed by Jonathan Ringer
parent 2982fa466e
commit 6f7f01a244
2 changed files with 12 additions and 0 deletions

View file

@ -610,6 +610,10 @@ Using the example above, the analagous pytestCheckHook usage would be:
"download"
"update"
];
disabledTestFiles = [
"tests/test_failing.py"
];
```
This is expecially useful when tests need to be conditionallydisabled,