pythonPackages.datadog: fix tests

This commit is contained in:
Jonathan Ringer 2019-10-27 08:17:49 -07:00 committed by Jon
parent 62c81282c4
commit 421ec19144

View File

@ -1,8 +1,6 @@
{ lib, buildPythonPackage, fetchPypi
, decorator, requests, simplejson
, nose, mock
, pillow
}:
, decorator, requests, simplejson, pillow
, nose, mock, pytest }:
buildPythonPackage rec {
pname = "datadog";
@ -17,9 +15,12 @@ buildPythonPackage rec {
find . -name '*.pyc' -exec rm {} \;
'';
propagatedBuildInputs = [ decorator requests simplejson ];
propagatedBuildInputs = [ decorator requests simplejson pillow ];
checkInputs = [ nose mock pillow ];
checkInputs = [ nose mock pytest ];
checkPhase = ''
pytest tests/unit
'';
meta = with lib; {
description = "The Datadog Python library";