python3Packages.azure-core: disable test failing on some darwin systems

authored by Malo Bourgon and committed by Jonathan Ringer eb0e44bb 20f4dcdd

+13 -2
+13 -2
pkgs/development/python-modules/azure-core/default.nix
··· 1 - { lib, buildPythonPackage, fetchPypi, isPy27 1 + { lib, stdenv, buildPythonPackage, fetchPypi, isPy27 2 2 , aiodns 3 3 , aiohttp 4 4 , flask ··· 51 51 52 52 pytestFlagsArray = [ "tests/" ]; 53 53 # disable tests which touch network 54 - disabledTests = [ "aiohttp" "multipart_send" "response" "request" "timeout" ]; 54 + disabledTests = [ 55 + "aiohttp" 56 + "multipart_send" 57 + "response" 58 + "request" 59 + "timeout" 60 + # disable 8 tests failing on some darwin machines with errors: 61 + # azure.core.polling.base_polling.BadStatus: Invalid return status 403 for 'GET' operation 62 + # azure.core.exceptions.HttpResponseError: Operation returned an invalid status 'Forbidden' 63 + ] ++ lib.optional stdenv.isDarwin [ 64 + "location_polling_fail" 65 + ]; 55 66 disabledTestPaths = [ 56 67 # requires testing modules which aren't published, and likely to create cyclic dependencies 57 68 "tests/test_connection_string_parsing.py"