python37Packages.google-auth: disable network tests

This disables some tests that using a mocked webserver.
This commit is contained in:
Noah D. Brenowitz 2021-03-18 00:08:32 -07:00
parent c2cb457ebf
commit db242e1681

View File

@ -1,4 +1,5 @@
{ lib { stdenv
, lib
, buildPythonPackage , buildPythonPackage
, fetchpatch , fetchpatch
, fetchPypi , fetchPypi
@ -41,6 +42,14 @@ buildPythonPackage rec {
"google.oauth2" "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; { meta = with lib; {
description = "Google Auth Python Library"; description = "Google Auth Python Library";
longDescription = '' longDescription = ''