From 503f80887038f0168ee95052f54369f9283a08ae Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Thu, 30 Aug 2018 17:56:34 +0200 Subject: [PATCH] pythonPackages.pytestrunner: failed attempt at enabling tests --- .../python-modules/pytestrunner/default.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/pkgs/development/python-modules/pytestrunner/default.nix b/pkgs/development/python-modules/pytestrunner/default.nix index 71b1260a5407..4d9b9b761577 100644 --- a/pkgs/development/python-modules/pytestrunner/default.nix +++ b/pkgs/development/python-modules/pytestrunner/default.nix @@ -11,6 +11,17 @@ buildPythonPackage rec { buildInputs = [ setuptools_scm pytest ]; + postPatch = '' + rm pytest.ini + ''; + + checkPhase = '' + py.test tests + ''; + + # Fixture not found + doCheck = false; + meta = with stdenv.lib; { description = "Invoke py.test as distutils command with dependency resolution"; homepage = https://bitbucket.org/pytest-dev/pytest-runner;