mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-03 20:54:24 -07:00
Skip proxmox connection test if paramiko cannot be imported.
This commit is contained in:
parent
c17bc93996
commit
344fc56ef0
1 changed files with 3 additions and 0 deletions
|
@ -22,6 +22,9 @@ from pathlib import Path
|
||||||
from unittest.mock import patch, MagicMock, mock_open
|
from unittest.mock import patch, MagicMock, mock_open
|
||||||
|
|
||||||
|
|
||||||
|
pytest.importorskip('paramiko')
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
def connection():
|
def connection():
|
||||||
play_context = PlayContext()
|
play_context = PlayContext()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue