From 4be96b7cbdf36767a55c508da429712d3a76561f6ef6683d824d5dde469be838 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Thu, 18 Apr 2019 12:28:40 +0000 Subject: [PATCH] Accepting request 695668 from home:mcepl:branches:devel:languages:python - Actually for working around gh#bbangert/beaker#172 it is enough to rm -fv tests/test.db, because the test suite apparently doesn't clean up after itself. OBS-URL: https://build.opensuse.org/request/show/695668 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Beaker?expand=0&rev=39 --- python-Beaker.changes | 7 +++++++ python-Beaker.spec | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/python-Beaker.changes b/python-Beaker.changes index da77c17..3cabafe 100644 --- a/python-Beaker.changes +++ b/python-Beaker.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Apr 18 14:26:01 CEST 2019 - Matej Cepl + +- Actually for working around gh#bbangert/beaker#172 it is enough + to rm -fv tests/test.db, because the test suite apparently + doesn't clean up after itself. + ------------------------------------------------------------------- Mon Apr 1 13:36:58 UTC 2019 - Matej Cepl diff --git a/python-Beaker.spec b/python-Beaker.spec index dbe6f1b..b88dcf3 100644 --- a/python-Beaker.spec +++ b/python-Beaker.spec @@ -109,7 +109,8 @@ rm tests/test_cachemanager.py %check %{python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} # gh#bbangert/beaker#172 -%python_expand nosetests-%{$python_bin_suffix} -v -I 'test_database' tests +rm -fv tests/test.db +nosetests-%{$python_bin_suffix} -v tests } %files %{python_files}