pythonPackages.google_cloud_core: fix tests

This commit is contained in:
Jonathan Ringer 2019-10-25 01:59:49 -07:00 committed by Frederik Rietdijk
parent cb2ecc8130
commit d411e3d0c2

View file

@ -1,4 +1,4 @@
{ stdenv, buildPythonPackage, fetchPypi
{ stdenv, buildPythonPackage, fetchPypi, python
, google_api_core, grpcio, pytest, mock, setuptools }:
buildPythonPackage rec {
@ -14,7 +14,8 @@ buildPythonPackage rec {
checkInputs = [ pytest mock ];
checkPhase = ''
py.test
cd tests
${python.interpreter} -m unittest discover
'';
meta = with stdenv.lib; {