python3Packages.portend: fix test dependencies

This commit is contained in:
Jonathan Ringer 2019-12-21 17:16:31 -08:00 committed by Frederik Rietdijk
parent 4e649e883a
commit 310555b281

View File

@ -1,5 +1,5 @@
{ stdenv, buildPythonPackage, fetchPypi { stdenv, buildPythonPackage, fetchPypi
, pytest, setuptools_scm, tempora, pytest-black }: , pytest, setuptools_scm, tempora, pytest-black, pytestcov }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "portend"; pname = "portend";
@ -19,7 +19,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [ tempora ]; propagatedBuildInputs = [ tempora ];
checkInputs = [ pytest pytest-black ]; checkInputs = [ pytest pytest-black pytestcov ];
checkPhase = '' checkPhase = ''
py.test --deselect=test_portend.py::TestChecker::test_check_port_listening py.test --deselect=test_portend.py::TestChecker::test_check_port_listening