From 4a81aa47620a4fa242a13a0dd73141a2af6e2d3357f1204d04554d9bdffd2a69 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 19 Apr 2018 13:01:36 +0000 Subject: [PATCH] - only run generic tests using pytest (bsc#1089564) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dogpile.cache?expand=0&rev=34 --- python-dogpile.cache.changes | 5 +++++ python-dogpile.cache.spec | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/python-dogpile.cache.changes b/python-dogpile.cache.changes index c08a59d..acd028e 100644 --- a/python-dogpile.cache.changes +++ b/python-dogpile.cache.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Apr 19 13:00:53 UTC 2018 - dmueller@suse.com + +- only run generic tests using pytest (bsc#1089564) + ------------------------------------------------------------------- Tue Mar 27 00:44:45 CEST 2018 - ro@suse.de diff --git a/python-dogpile.cache.spec b/python-dogpile.cache.spec index 01f3aa7..379e55c 100644 --- a/python-dogpile.cache.spec +++ b/python-dogpile.cache.spec @@ -66,7 +66,8 @@ new value. %python_expand %fdupes -s %{buildroot}/%{python_sitelib} %check -%python_exec setup.py test +export RUNTESTS="-k 'not test_dbm_backend and not test_memcached_backend and not test_redis_backend'" +%python_exec -m pytest %files %{python_files} %defattr(-,root,root,-)