about summary refs log tree commit diff
path: root/pkgs/development/python-modules/Fabric
diff options
context:
space:
mode:
authorJonathan Ringer <jonringer117@gmail.com>2020-08-16 15:44:02 -0700
committerJonathan Ringer <jonringer117@gmail.com>2020-08-16 15:57:00 -0700
commit5aaefb541bcef53eae996b63adc3c01f217bc108 (patch)
tree5fb08a13361bd6b4fd3de1bcf2d86e1d0624f030 /pkgs/development/python-modules/Fabric
parentab4f2ad832ac2ef924f33816dedb20d3e72e0203 (diff)
python3Packages.Fabric: disable tests
Diffstat (limited to 'pkgs/development/python-modules/Fabric')
-rw-r--r--pkgs/development/python-modules/Fabric/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/Fabric/default.nix b/pkgs/development/python-modules/Fabric/default.nix
index c6fb898e07050..1025ed6a05ee0 100644
--- a/pkgs/development/python-modules/Fabric/default.nix
+++ b/pkgs/development/python-modules/Fabric/default.nix
@@ -19,9 +19,13 @@ buildPythonPackage rec {
   propagatedBuildInputs = [ invoke paramiko cryptography ];
   checkInputs = [ pytest mock pytest-relaxed ];
 
+  # requires pytest_relaxed, which doesnt have official support for pytest>=5
+  # https://github.com/bitprophet/pytest-relaxed/issues/12
+  doCheck = false;
   checkPhase = ''
     pytest tests
   '';
+  pythonImportsCheck = [ "fabric" ];
 
   meta = with lib; {
     description = "Pythonic remote execution";