summary refs log tree commit diff
diff options
context:
space:
mode:
authorJonathan Ringer <jonringer117@gmail.com>2019-10-26 17:09:37 -0700
committerFrederik Rietdijk <fridh@fridh.nl>2019-10-27 16:26:57 +0100
commita1010b6fca4b3bf1aee4dc38a34981876b41304f (patch)
tree85e4d00552018d0d9c02ae06c94a724e836d6157
parent382aec03a15f463c1df4dcfa6c6fa263f14a56c2 (diff)
downloadnixpkgs-a1010b6fca4b3bf1aee4dc38a34981876b41304f.tar
nixpkgs-a1010b6fca4b3bf1aee4dc38a34981876b41304f.tar.gz
nixpkgs-a1010b6fca4b3bf1aee4dc38a34981876b41304f.tar.bz2
nixpkgs-a1010b6fca4b3bf1aee4dc38a34981876b41304f.tar.lz
nixpkgs-a1010b6fca4b3bf1aee4dc38a34981876b41304f.tar.xz
nixpkgs-a1010b6fca4b3bf1aee4dc38a34981876b41304f.tar.zst
nixpkgs-a1010b6fca4b3bf1aee4dc38a34981876b41304f.zip
python3Packages.grpc_google_iam_v1: disable awkward tests
-rw-r--r--pkgs/development/python-modules/grpc_google_iam_v1/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/grpc_google_iam_v1/default.nix b/pkgs/development/python-modules/grpc_google_iam_v1/default.nix
index 1f26c6f3317..843c1b32f49 100644
--- a/pkgs/development/python-modules/grpc_google_iam_v1/default.nix
+++ b/pkgs/development/python-modules/grpc_google_iam_v1/default.nix
@@ -3,6 +3,7 @@
 , fetchPypi
 , grpcio
 , googleapis_common_protos
+, pytest
 }:
 
 buildPythonPackage rec {
@@ -16,6 +17,11 @@ buildPythonPackage rec {
 
   propagatedBuildInputs = [ grpcio googleapis_common_protos ];
 
+  # non-standard test format, and python3 will load local google folder first
+  # but tests cannot be ran if google folder is removed or moved
+  doCheck = false;
+  checkInputs = [ pytest ];
+
   meta = with stdenv.lib; {
     description = "GRPC library for the google-iam-v1 service";
     homepage = https://github.com/googleapis/googleapis;