python3Packages.google_api_core: disable nox tests

This commit is contained in:
Jonathan Ringer 2019-10-24 23:24:37 -07:00 committed by Frederik Rietdijk
parent 713ac20898
commit 252da2ff4c

@ -1,5 +1,5 @@
{ lib, buildPythonPackage, fetchPypi, pythonOlder, isPy27
, google_auth, protobuf, googleapis_common_protos, requests, setuptools, grpcio, futures, mock, pytest }:
, google_auth, protobuf, googleapis_common_protos, requests, setuptools, grpcio, futures, mock }:
buildPythonPackage rec {
pname = "google-api-core";
@ -15,11 +15,16 @@ buildPythonPackage rec {
googleapis_common_protos protobuf
google_auth requests setuptools grpcio
] ++ lib.optional (pythonOlder "3.2") futures;
checkInputs = [ mock pytest ];
checkPhase = ''
py.test
'';
# requires nox
doCheck = false;
checkInputs = [ mock ];
pythonImportsCheck = [
"google.auth"
"google.protobuf"
"google.api"
];
meta = with lib; {
description = "This library is not meant to stand-alone. Instead it defines common helpers used by all Google API clients.";