···
disabled = pythonOlder "3.8";
···
-
hash = "sha256-Yh1AD/tBHQBpwAA86XuP9UuXnCAFcMw/XSv6z46XP0k=";
···
pythonImportsCheck = [ "aiosonic" ];
lib.optionals stdenv.hostPlatform.isLinux [
-
"test_keep_alive_smart_pool"
-
"test_keep_alive_cyclic_pool"
"test_get_with_params_in_url"
"test_get_with_params_tuple"
"test_post_form_urlencoded"
-
"test_post_tuple_form_urlencoded"
-
"test_post_multipart_to_django"
"test_timeouts_overriden"
-
"test_pool_acquire_timeout"
-
"test_simple_get_ssl_ctx"
-
"test_simple_get_ssl_no_valid"
-
"test_get_chunked_response"
-
"test_get_chunked_response_and_not_read_it"
-
"test_read_chunks_by_text_method"
-
"test_get_body_deflate"
-
"test_close_connection"
-
"test_close_old_keeped_conn"
-
"test_get_image_chunked"
-
"test_get_with_cookies"
++ lib.optionals stdenv.hostPlatform.isDarwin [
···
disabled = pythonOlder "3.8";
···
+
hash = "sha256-sYd7qjOiRENO6hPhJ01RLsr+2RtTITrXjcT6/ZaGfAU=";
···
pythonImportsCheck = [ "aiosonic" ];
lib.optionals stdenv.hostPlatform.isLinux [
+
# Tests require network access
+
"test_close_connection"
+
"test_close_old_keeped_conn"
+
"test_get_body_deflate"
+
"test_get_chunked_response_and_not_read_it"
+
"test_get_chunked_response"
+
"test_get_image_chunked"
+
"test_get_with_cookies"
"test_get_with_params_in_url"
"test_get_with_params_tuple"
+
"test_keep_alive_cyclic_pool"
+
"test_keep_alive_smart_pool"
+
"test_max_conn_idle_ms"
+
"test_multipart_backward_compatibility"
+
"test_pool_acquire_timeout"
"test_post_form_urlencoded"
+
"test_post_multipart_with_class"
+
"test_post_multipart_with_metadata"
+
"test_post_multipart_with_multipartfile_class"
+
"test_post_multipart_with_multipartfile_path"
+
"test_post_tuple_form_urlencoded"
+
"test_read_chunks_by_text_method"
"test_timeouts_overriden"
+
"test_wrapper_delete_http_serv"
+
"test_wrapper_get_http_serv"
+
# Tests can't trigger server
++ lib.optionals stdenv.hostPlatform.isDarwin [