about summary refs log tree commit diff
path: root/pkgs/development/python-modules/google-auth
diff options
context:
space:
mode:
authorNoah D. Brenowitz <nbren12@gmail.com>2021-03-18 00:08:32 -0700
committerNoah D. Brenowitz <nbren12@gmail.com>2021-04-08 07:52:55 +0000
commitdb242e168182ce6ddb79aafc06a8b68961ae6b60 (patch)
treed5489a8ef9aa5c9420eb11ac1c9d4657d7d0e975 /pkgs/development/python-modules/google-auth
parentc2cb457ebf80734a7e46ead1d0204e53b358338f (diff)
python37Packages.google-auth: disable network tests
This disables some tests that using a mocked webserver.
Diffstat (limited to 'pkgs/development/python-modules/google-auth')
-rw-r--r--pkgs/development/python-modules/google-auth/default.nix11
1 files changed, 10 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/google-auth/default.nix b/pkgs/development/python-modules/google-auth/default.nix
index d583de9c074bc..39dabef3acecc 100644
--- a/pkgs/development/python-modules/google-auth/default.nix
+++ b/pkgs/development/python-modules/google-auth/default.nix
@@ -1,4 +1,5 @@
-{ lib
+{ stdenv
+, lib
 , buildPythonPackage
 , fetchpatch
 , fetchPypi
@@ -41,6 +42,14 @@ buildPythonPackage rec {
     "google.oauth2"
   ];
 
+  disabledTests = lib.optionals stdenv.isDarwin [
+    "test_request_with_timeout_success"
+    "test_request_with_timeout_failure"
+    "test_request_headers"
+    "test_request_error"
+    "test_request_basic"
+  ];
+
   meta = with lib; {
     description = "Google Auth Python Library";
     longDescription = ''