15
0
2022-10-04 20:32:08 +00:00
committed by Git OBS Bridge
parent c28993dc44
commit e18a8b27d4
3 changed files with 18 additions and 9 deletions

View File

@@ -125,15 +125,19 @@ rm -r %{buildroot}%{$python_sitearch}/aiohttp/.hash
}
%check
donttest="test_aiohttp_request_coroutine or test_mark_formdata_as_processed or test_aiohttp_plugin_async"
donttest="test_aiohttp_request_coroutine or test_mark_formdata_as_processed or test_aiohttp_plugin_async or test_secure_https_proxy_absolute_path"
# no name resolution
donttest+=" or test_client_session_timeout_zero or test_requote_redirect_url_default"
# flaky
donttest+=" or test_https_proxy_unsupported_tls_in_tls"
# not running under pytest ?!
donttest+=" or test_no_warnings"
%if 0%{?python3_version_nodots} == 36
donttest+=" or test_read_boundary_with_incomplete_chunk"
%endif
%pytest_arch --ignore ./aiohttp -rsEf -k "not ($donttest)"
# skip functional tests
# rm -v tests/test_proxy_functional.py
%pytest_arch tests -rsEf -k "not ($donttest)"
%files %{python_files}
%license LICENSE.txt