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