From 7e45e56919f13cabbff9a40258b5924ac8e65794569bd85dad63dcf029fa3493 Mon Sep 17 00:00:00 2001 From: Todd R Date: Sun, 11 Aug 2019 01:45:53 +0000 Subject: [PATCH] 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 --- python-terminado.changes | 5 +++++ python-terminado.spec | 13 ++++--------- 2 files changed, 9 insertions(+), 9 deletions(-) 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