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,