From 4317e0e2085fe28950b145b5028ba4f37156f06bfec5e490ffaa0069c5868b21 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 17 Apr 2020 06:55:06 +0000 Subject: [PATCH] Accepting request 794782 from home:pgajdos:python - use pytest -k instead of removing tests OBS-URL: https://build.opensuse.org/request/show/794782 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-jenkinsapi?expand=0&rev=17 --- python-jenkinsapi.changes | 5 +++++ python-jenkinsapi.spec | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/python-jenkinsapi.changes b/python-jenkinsapi.changes index ade6bcd..c5b6df9 100644 --- a/python-jenkinsapi.changes +++ b/python-jenkinsapi.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Apr 17 06:51:42 UTC 2020 - pgajdos@suse.com + +- use pytest -k instead of removing tests + ------------------------------------------------------------------- Thu Apr 16 12:13:33 UTC 2020 - pgajdos@suse.com diff --git a/python-jenkinsapi.spec b/python-jenkinsapi.spec index 5f18d4b..db185b4 100644 --- a/python-jenkinsapi.spec +++ b/python-jenkinsapi.spec @@ -87,11 +87,11 @@ and has %python_uninstall_alternative jenkins_invoke %check +# jenkinsapi_tests/unittests/test_view.py # E fixture '_view_poll' not found -rm jenkinsapi_tests/unittests/test_view.py +# jddenkinsapi_tests/unittests/test_plugins.py # E ConnectionError: HTTPSConnectionPool(host='updates.jenkins.io... -rm jenkinsapi_tests/unittests/test_plugins.py -%pytest jenkinsapi_tests/unittests jenkinsapi_tests/test_utils +%pytest jenkinsapi_tests/unittests jenkinsapi_tests/test_utils -k 'not (test_view or test_plugins)' %files %{python_files} %doc README.rst