14
0

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
This commit is contained in:
2023-02-22 18:08:36 +00:00
committed by Git OBS Bridge
parent afad50f47b
commit bc6d1ed06e
2 changed files with 9 additions and 1 deletions

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Wed Feb 22 12:55:53 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
- 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

View File

@@ -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}