14
0

- Add missing dependencies

- Skip online test test_seed_link_via_app_data
- update to 20.0.25:

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-virtualenv?expand=0&rev=85
This commit is contained in:
Tomáš Chvátal
2020-07-03 11:10:00 +00:00
committed by Git OBS Bridge
parent 56a8b24ca9
commit bb9d383653
2 changed files with 11 additions and 2 deletions

View File

@@ -53,9 +53,11 @@ Requires: python-pathlib2 >= 2.3.3
%if %{with test}
BuildRequires: %{python_module coverage >= 4.5.1}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module flaky >= 3}
BuildRequires: %{python_module packaging >= 20.0}
BuildRequires: %{python_module pytest >= 4.0.0}
BuildRequires: %{python_module pytest-env >= 0.6.2}
BuildRequires: %{python_module pytest-freezegun >= 0.4.1}
BuildRequires: %{python_module pytest-mock >= 2.0.0}
BuildRequires: %{python_module pytest-timeout >= 1.3.4}
BuildRequires: %{python_module virtualenv >= %{version}}
@@ -99,7 +101,8 @@ libraries either).
%check
%if %{with test}
export LANG="en_US.UTF8"
%pytest
# test_seed_link_via_app_data - online tests downloads from pypi
%pytest -k 'not test_seed_link_via_app_data'
%endif
%if !%{with test}