forked from pool/python-aiohttp
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=151
This commit is contained in:
@@ -59,7 +59,6 @@ BuildRequires: %{python_module multidict >= 4.5 with %python-multidict < 7}
|
||||
BuildRequires: %{python_module yarl >= 1.17.0 with %python-yarl < 2}
|
||||
# /SECTION
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module aiodns}
|
||||
BuildRequires: %{python_module Brotli}
|
||||
BuildRequires: %{python_module blockbuster}
|
||||
BuildRequires: %{python_module freezegun}
|
||||
@@ -150,8 +149,7 @@ single_runs="(test_run_app or test_web_runner)"
|
||||
# breaks without threading
|
||||
single_runs+=" and not test_shutdown_handler_cancellation_suppressed"
|
||||
test -d aiohttp && mv aiohttp aiohttp.bkp
|
||||
%pytest_arch tests -k "not ($donttest or ${single_runs})"
|
||||
%pytest_arch tests -k "${single_runs}"
|
||||
%pytest_arch tests -n 4 -k "not ($donttest or skip_blockbuster)"
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE.txt
|
||||
|
||||
Reference in New Issue
Block a user