From 1bf1ac4a8215cc635ba35f43058499d996afd442c670d3d27410ed0691e921a2 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 1 Apr 2019 13:50:10 +0000 Subject: [PATCH] Accepting request 690383 from home:mcepl:branches:devel:languages:python - Ignore test_database tests to avoid gh#bbangert/beaker#172 OBS-URL: https://build.opensuse.org/request/show/690383 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Beaker?expand=0&rev=37 --- python-Beaker.changes | 5 +++++ python-Beaker.spec | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/python-Beaker.changes b/python-Beaker.changes index 40bc020..da77c17 100644 --- a/python-Beaker.changes +++ b/python-Beaker.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Apr 1 13:36:58 UTC 2019 - Matej Cepl + +- Ignore test_database tests to avoid gh#bbangert/beaker#172 + ------------------------------------------------------------------- Fri Mar 1 09:08:58 UTC 2019 - Tomáš Chvátal diff --git a/python-Beaker.spec b/python-Beaker.spec index af253ef..dbe6f1b 100644 --- a/python-Beaker.spec +++ b/python-Beaker.spec @@ -107,7 +107,10 @@ rm tests/test_cachemanager.py %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec setup.py test +%{python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} +# gh#bbangert/beaker#172 +%python_expand nosetests-%{$python_bin_suffix} -v -I 'test_database' tests +} %files %{python_files} %license LICENSE