diff --git a/pkgs/development/python-modules/redshift-connector/default.nix b/pkgs/development/python-modules/redshift-connector/default.nix index 63621cb51e97..249a9807bfe5 100644 --- a/pkgs/development/python-modules/redshift-connector/default.nix +++ b/pkgs/development/python-modules/redshift-connector/default.nix @@ -60,6 +60,18 @@ buildPythonPackage rec { # integration tests require a Redshift cluster enabledTestPaths = [ "test/unit" ]; + disabledTests = [ + # AttributeError: 'itertools._tee' object has no attribute 'status_code' + # This is due to a broken pytest_mock. + # TODO Remove once pytest-mock 3.15.1 lands. + "test_form_based_authentication_uses_user_set_login_to_rp" + "test_form_based_authentication_payload_is_correct" + "test_form_based_authentication_login_fails_should_fail" + "test_azure_oauth_based_authentication_payload_is_correct" + "test_okta_authentication_payload_is_correct" + "test_set_cluster_identifier_calls_describe_custom_domain_associations" + ]; + __darwinAllowLocalNetworking = true; # required for tests meta = {