diff --git a/pkgs/tools/filesystems/stratis-cli/default.nix b/pkgs/tools/filesystems/stratis-cli/default.nix index 813ecfa22c6d..145d570b6a8c 100644 --- a/pkgs/tools/filesystems/stratis-cli/default.nix +++ b/pkgs/tools/filesystems/stratis-cli/default.nix @@ -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; {