- Switch off test_latex_images test, because it tries to download

image from the www.python.org.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=121
This commit is contained in:
Matej Cepl 2019-03-14 15:26:53 +00:00 committed by Git OBS Bridge
parent 44de5d1d36
commit fb4232f65f
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Mar 14 16:25:50 CET 2019 - Matej Cepl <mcepl@suse.com>
- Switch off test_latex_images test, because it tries to download
image from the www.python.org.
-------------------------------------------------------------------
Tue Mar 12 15:35:49 UTC 2019 - Matej Cepl <mcepl@suse.com>

View File

@ -288,7 +288,7 @@ mv build.doc/man/sphinx-quickstart.1 %{buildroot}%{_mandir}/man1/sphinx-quicksta
%if %{with test}
export LC_ALL="C.utf8"
%{python_expand export PYTHONPATH=$PYTHONPATH:%{buildroot}%{$python_sitelib}
py.test-%{$python_bin_suffix} --ignore=_build.python3 --ignore=_build.python2 -k 'not linkcheck' -v tests
py.test-%{$python_bin_suffix} --ignore=_build.python3 --ignore=_build.python2 -k 'not (linkcheck or test_latex_images)' -v tests
# $python -mpytest --ignore=_build.python3 --ignore=_build.python2 -k 'not linkcheck' -v tests
}
%endif