diff --git a/python-terminado.changes b/python-terminado.changes index 126ffa7..6427893 100644 --- a/python-terminado.changes +++ b/python-terminado.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Aug 11 01:45:25 UTC 2019 - Todd R + +- Enable tests + ------------------------------------------------------------------- Wed Jun 12 19:50:31 UTC 2019 - Todd R diff --git a/python-terminado.spec b/python-terminado.spec index 383d9b2..c485279 100644 --- a/python-terminado.spec +++ b/python-terminado.spec @@ -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