mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-14 19:37:48 +00:00
pythonPackages.google_cloud_core: fix tests
This commit is contained in:
parent
cb2ecc8130
commit
d411e3d0c2
@ -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; {
|
||||
|
Loading…
Reference in New Issue
Block a user