Accepting request 722221 from home:TheBlackCat:branches:devel:languages:python:jupyter
- Enable tests OBS-URL: https://build.opensuse.org/request/show/722221 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-terminado?expand=0&rev=4
This commit is contained in:
parent
4afa788988
commit
7e45e56919
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 11 01:45:25 UTC 2019 - Todd R <toddrme2178@gmail.com>
|
||||
|
||||
- Enable tests
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 12 19:50:31 UTC 2019 - Todd R <toddrme2178@gmail.com>
|
||||
|
||||
|
@ -33,9 +33,9 @@ BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module tornado >= 4}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
%if %{with tests}
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module pytest}
|
||||
%endif
|
||||
# /SECTION
|
||||
Requires: python-ptyprocess
|
||||
Requires: python-tornado >= 4
|
||||
BuildArch: noarch
|
||||
@ -59,17 +59,12 @@ of QWeb).
|
||||
%python_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%if %{with tests}
|
||||
%check
|
||||
pushd terminado/tests
|
||||
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
|
||||
py.test-%{$python_bin_suffix} .
|
||||
}
|
||||
popd
|
||||
%endif
|
||||
%pytest -k 'not test_max_terminals'
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
%license LICENSE
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user