stratis-cli: add pytestCheckHook and pythonImportsCheck
This commit is contained in:
parent
207e9aa1b3
commit
0fa2f2148b
1 changed files with 12 additions and 0 deletions
|
@ -25,6 +25,18 @@ python3Packages.buildPythonApplication rec {
|
|||
packaging
|
||||
];
|
||||
|
||||
checkInputs = with python3Packages; [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# tests below require dbus daemon
|
||||
"tests/whitebox/integration"
|
||||
"tests/whitebox/monkey_patching"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "stratis_cli" ];
|
||||
|
||||
passthru.tests = nixosTests.stratis;
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue