python3Packages.google_cloud_runtimeconfig: fix tests
This commit is contained in:
parent
41e4419593
commit
f89f4578fd
@ -19,13 +19,15 @@ buildPythonPackage rec {
|
|||||||
checkInputs = [ pytest mock ];
|
checkInputs = [ pytest mock ];
|
||||||
propagatedBuildInputs = [ google_api_core google_cloud_core ];
|
propagatedBuildInputs = [ google_api_core google_cloud_core ];
|
||||||
|
|
||||||
|
# ignore tests which require credentials or network
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
pytest tests/unit
|
rm -r google
|
||||||
|
pytest tests/unit -k 'not client and not extra_headers'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Google Cloud RuntimeConfig API client library";
|
description = "Google Cloud RuntimeConfig API client library";
|
||||||
homepage = https://github.com/GoogleCloudPlatform/google-cloud-python;
|
homepage = "https://github.com/GoogleCloudPlatform/google-cloud-python";
|
||||||
license = licenses.asl20;
|
license = licenses.asl20;
|
||||||
maintainers = [ maintainers.costrouc ];
|
maintainers = [ maintainers.costrouc ];
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user