pythonPackages.datadog: fix tests
This commit is contained in:
parent
62c81282c4
commit
421ec19144
@ -1,8 +1,6 @@
|
|||||||
{ lib, buildPythonPackage, fetchPypi
|
{ lib, buildPythonPackage, fetchPypi
|
||||||
, decorator, requests, simplejson
|
, decorator, requests, simplejson, pillow
|
||||||
, nose, mock
|
, nose, mock, pytest }:
|
||||||
, pillow
|
|
||||||
}:
|
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "datadog";
|
pname = "datadog";
|
||||||
@ -17,9 +15,12 @@ buildPythonPackage rec {
|
|||||||
find . -name '*.pyc' -exec rm {} \;
|
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; {
|
meta = with lib; {
|
||||||
description = "The Datadog Python library";
|
description = "The Datadog Python library";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user