summary refs log tree commit diff
path: root/pkgs/tools/filesystems/stratis-cli/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/filesystems/stratis-cli/default.nix')
-rw-r--r--pkgs/tools/filesystems/stratis-cli/default.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/tools/filesystems/stratis-cli/default.nix b/pkgs/tools/filesystems/stratis-cli/default.nix
index 813ecfa22c6..145d570b6a8 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; {