mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 21:00:22 -07:00
[PR #6980/796ad356 backport][stable-6] [proxmox] Use proxmoxer_version instead of server API version (#6984)
* [proxmox] Use proxmoxer_version instead of server API version (#6980)
* Use proxmoxer_version instead of server API version
* Add changelog fragment
(cherry picked from commit 796ad3565e
)
* Update unit tests requirements file
* Add python 2.6 constraint for tests
This commit is contained in:
parent
0e0fce54ab
commit
f635ed6c2e
5 changed files with 24 additions and 2 deletions
|
@ -12,6 +12,13 @@ __metaclass__ = type
|
|||
|
||||
import pytest
|
||||
import json
|
||||
import sys
|
||||
|
||||
proxmoxer = pytest.importorskip('proxmoxer')
|
||||
mandatory_py_version = pytest.mark.skipif(
|
||||
sys.version_info < (2, 7),
|
||||
reason='The proxmoxer dependency requires python2.7 or higher'
|
||||
)
|
||||
|
||||
from ansible_collections.community.general.plugins.modules import proxmox_tasks_info
|
||||
import ansible_collections.community.general.plugins.module_utils.proxmox as proxmox_utils
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue