python37Packages.google-auth: disable network tests
This disables some tests that using a mocked webserver.
This commit is contained in:
parent
c2cb457ebf
commit
db242e1681
@ -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 = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user