From 916f770ad4cd05c33606de5b82f576df53ba6aa5 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Sun, 24 Jan 2016 18:03:53 +0100 Subject: [PATCH] pythonPackages.testfixtures: fix test runner, disable tests --- pkgs/top-level/python-packages.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index c58b626913b8..e463c0c092f9 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -22428,6 +22428,16 @@ in modules // { sha256 = "0my8zq9d27mc7j78pz9971cn5wz6zi4vxlqa50szr2vq9j2xxkll"; }; + buildInputs = with self; [ nose mock manuel ]; + + checkPhase = '' + nosetests -v + ''; + + # Test suite seems broken + # TypeError: TestSuite() missing 1 required positional argument: 'm' + # Haven't checked with newer version + doCheck = false; meta = with stdenv.lib; { homepage = "https://github.com/Simplistix/testfixtures";