pythonPackages.natsort: fix tests

A coverage report is definitely not needed for Nixpkgs.
This commit is contained in:
Robert Schütz 2018-02-20 21:34:44 +01:00
parent 958bd34ea4
commit d3a347547c

View File

@ -1,12 +1,9 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, pythonOlder , pythonOlder
, isPy35
, isPy36
, fetchPypi , fetchPypi
, hypothesis , hypothesis
, pytestcache , pytestcache
, pytestcov
, pytestflakes , pytestflakes
, pytestpep8 , pytestpep8
, pytest , pytest
@ -19,10 +16,9 @@ buildPythonPackage rec {
pname = "natsort"; pname = "natsort";
version = "5.2.0"; version = "5.2.0";
buildInputs = [ checkInputs = [
hypothesis hypothesis
pytestcache pytestcache
pytestcov
pytestflakes pytestflakes
pytestpep8 pytestpep8
pytest pytest
@ -41,7 +37,7 @@ buildPythonPackage rec {
# testing based on project's tox.ini # testing based on project's tox.ini
checkPhase = '' checkPhase = ''
pytest --doctest-modules natsort pytest --doctest-modules natsort
pytest --flakes --pep8 --cov natsort --cov-report term-missing pytest --flakes --pep8
''; '';
meta = { meta = {