From bc6d1ed06ebe700d0634b1187f06d06e57a9ba046d6741716f932b7a5f9d1ab2 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 22 Feb 2023 18:08:36 +0000 Subject: [PATCH] Accepting request 1067155 from home:ojkastl_buildservice:Branch_devel_languages_python - refactor %check section to not use the tests that require the ancient openssh-wrapper module see https://github.com/proxmoxer/proxmoxer/issues/135 OBS-URL: https://build.opensuse.org/request/show/1067155 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-proxmoxer?expand=0&rev=2 --- python-proxmoxer.changes | 7 +++++++ python-proxmoxer.spec | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/python-proxmoxer.changes b/python-proxmoxer.changes index fbb2e95..eae880f 100644 --- a/python-proxmoxer.changes +++ b/python-proxmoxer.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Feb 22 12:55:53 UTC 2023 - Johannes Kastl + +- refactor %check section to not use the tests that require the + ancient openssh-wrapper module + see https://github.com/proxmoxer/proxmoxer/issues/135 + ------------------------------------------------------------------- Tue Feb 21 12:45:15 UTC 2023 - kastl@b1-systems.de diff --git a/python-proxmoxer.spec b/python-proxmoxer.spec index baa42ee..32a0435 100644 --- a/python-proxmoxer.spec +++ b/python-proxmoxer.spec @@ -28,7 +28,6 @@ BuildRequires: %{python_module setuptools} BuildRequires: fdupes # Tests -BuildRequires: %{python_module openssh-wrapper} BuildRequires: %{python_module paramiko} BuildRequires: %{python_module pytest-cov} BuildRequires: %{python_module pytest} @@ -53,6 +52,8 @@ Python Wrapper for the Proxmox 2.x API (HTTP and SSH) %python_expand %fdupes %{buildroot}%{$python_sitelib} %check +# remove tests that need the ancient openssh-wrapper module +rm -f ./tests/test_openssh.py %pytest -k 'not test_timeout' --cov ./tests/ %files %{python_files}