pythonPackages.pytestrunner: failed attempt at enabling tests

This commit is contained in:
Frederik Rietdijk 2018-08-30 17:56:34 +02:00 committed by Frederik Rietdijk
parent 37afcbf0f5
commit 503f808870

View File

@ -11,6 +11,17 @@ buildPythonPackage rec {
buildInputs = [ setuptools_scm pytest ]; buildInputs = [ setuptools_scm pytest ];
postPatch = ''
rm pytest.ini
'';
checkPhase = ''
py.test tests
'';
# Fixture not found
doCheck = false;
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Invoke py.test as distutils command with dependency resolution"; description = "Invoke py.test as distutils command with dependency resolution";
homepage = https://bitbucket.org/pytest-dev/pytest-runner; homepage = https://bitbucket.org/pytest-dev/pytest-runner;