summary refs log tree commit diff
path: root/pkgs/development/python-modules/hbmqtt
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2019-12-01 10:34:59 +0000
committerJörg Thalheim <joerg@thalheim.io>2019-12-01 10:35:53 +0000
commit62cbdcbbafe7571e5c07569df86464a168d57d9b (patch)
treebf23850607f5fd24d5cba32e7d2004915287b49d /pkgs/development/python-modules/hbmqtt
parente42036ee0e77ba7c5cfae572aefa768c06623c64 (diff)
downloadnixpkgs-62cbdcbbafe7571e5c07569df86464a168d57d9b.tar
nixpkgs-62cbdcbbafe7571e5c07569df86464a168d57d9b.tar.gz
nixpkgs-62cbdcbbafe7571e5c07569df86464a168d57d9b.tar.bz2
nixpkgs-62cbdcbbafe7571e5c07569df86464a168d57d9b.tar.lz
nixpkgs-62cbdcbbafe7571e5c07569df86464a168d57d9b.tar.xz
nixpkgs-62cbdcbbafe7571e5c07569df86464a168d57d9b.tar.zst
nixpkgs-62cbdcbbafe7571e5c07569df86464a168d57d9b.zip
hbmqtt: fix tests
Diffstat (limited to 'pkgs/development/python-modules/hbmqtt')
-rw-r--r--pkgs/development/python-modules/hbmqtt/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/hbmqtt/default.nix b/pkgs/development/python-modules/hbmqtt/default.nix
index cd3264b78bb..90c6444da4c 100644
--- a/pkgs/development/python-modules/hbmqtt/default.nix
+++ b/pkgs/development/python-modules/hbmqtt/default.nix
@@ -14,6 +14,11 @@ buildPythonPackage rec {
 
   propagatedBuildInputs = [ transitions websockets passlib docopt pyyaml ];
 
+  postPatch = ''
+    # test tries to bind same port multiple times and fails
+    rm tests/test_client.py
+  '';
+
   checkInputs = [ nose ];
 
   checkPhase = ''