diff options
author | Malo Bourgon <mbourgon@gmail.com> | 2022-03-18 13:10:17 -0700 |
---|---|---|
committer | Jonathan Ringer <jonringer@users.noreply.github.com> | 2022-03-20 11:04:17 -0700 |
commit | eb0e44bb54b5c74c9f139c36b28f933d68447c42 (patch) | |
tree | eabbb06ea7d8b7fb8cb47de103aac0febf8ba572 | |
parent | 20f4dcdd49734290247f9adf077ee545d7075a37 (diff) | |
download | nixpkgs-eb0e44bb54b5c74c9f139c36b28f933d68447c42.tar nixpkgs-eb0e44bb54b5c74c9f139c36b28f933d68447c42.tar.gz nixpkgs-eb0e44bb54b5c74c9f139c36b28f933d68447c42.tar.bz2 nixpkgs-eb0e44bb54b5c74c9f139c36b28f933d68447c42.tar.lz nixpkgs-eb0e44bb54b5c74c9f139c36b28f933d68447c42.tar.xz nixpkgs-eb0e44bb54b5c74c9f139c36b28f933d68447c42.tar.zst nixpkgs-eb0e44bb54b5c74c9f139c36b28f933d68447c42.zip |
python3Packages.azure-core: disable test failing on some darwin systems
-rw-r--r-- | pkgs/development/python-modules/azure-core/default.nix | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/azure-core/default.nix b/pkgs/development/python-modules/azure-core/default.nix index 9a128d81348..b7d330e6eff 100644 --- a/pkgs/development/python-modules/azure-core/default.nix +++ b/pkgs/development/python-modules/azure-core/default.nix @@ -1,4 +1,4 @@ -{ lib, buildPythonPackage, fetchPypi, isPy27 +{ lib, stdenv, buildPythonPackage, fetchPypi, isPy27 , aiodns , aiohttp , flask @@ -51,7 +51,18 @@ buildPythonPackage rec { pytestFlagsArray = [ "tests/" ]; # disable tests which touch network - disabledTests = [ "aiohttp" "multipart_send" "response" "request" "timeout" ]; + disabledTests = [ + "aiohttp" + "multipart_send" + "response" + "request" + "timeout" + # disable 8 tests failing on some darwin machines with errors: + # azure.core.polling.base_polling.BadStatus: Invalid return status 403 for 'GET' operation + # azure.core.exceptions.HttpResponseError: Operation returned an invalid status 'Forbidden' + ] ++ lib.optional stdenv.isDarwin [ + "location_polling_fail" + ]; disabledTestPaths = [ # requires testing modules which aren't published, and likely to create cyclic dependencies "tests/test_connection_string_parsing.py" |