Merge pull request #144840 from misuzu/slackclient-darwin-fix
python3Packages.slackclient: disable tests on darwin
This commit is contained in:
commit
4f6f9b28e0
@ -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" ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user