stratis-cli: add pytestCheckHook and pythonImportsCheck
This commit is contained in:
parent
207e9aa1b3
commit
0fa2f2148b
@ -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 New Issue
Block a user