mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
pythonPackages.google_cloud_core: fix tests
This commit is contained in:
parent
cb2ecc8130
commit
d411e3d0c2
1 changed files with 3 additions and 2 deletions
|
@ -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 a new issue