python3Packages.slackclient: disable broken tests on darwin

This commit is contained in:
misuzu 2021-11-06 10:53:20 +02:00
parent 185aeb4ab8
commit f3e1b3194b

View File

@ -1,4 +1,5 @@
{ lib
, stdenv
, aiohttp
, buildPythonPackage
, codecov
@ -51,7 +52,18 @@ buildPythonPackage rec {
# Exclude tests that requires network features
pytestFlagsArray = [ "--ignore=integration_tests" ];
disabledTests = [ "test_start_raises_an_error_if_rtm_ws_url_is_not_returned" ];
disabledTests = [
"test_start_raises_an_error_if_rtm_ws_url_is_not_returned"
] ++ lib.optionals stdenv.isDarwin [
# these fail with `ConnectionResetError: [Errno 54] Connection reset by peer`
"test_issue_690_oauth_access"
"test_issue_690_oauth_v2_access"
"test_send"
"test_send_attachments"
"test_send_blocks"
"test_send_dict"
];
pythonImportsCheck = [ "slack" ];