mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-28 06:28:56 +00:00
parent
a8977afb04
commit
74b6a0294a
127 changed files with 237 additions and 212 deletions
|
|
@ -9,11 +9,11 @@ import pytest
|
|||
import sys
|
||||
|
||||
from io import StringIO
|
||||
from unittest import mock
|
||||
|
||||
from ansible.errors import AnsibleError
|
||||
from ansible.playbook.play_context import PlayContext
|
||||
from ansible.plugins.loader import connection_loader
|
||||
from ansible_collections.community.internal_test_tools.tests.unit.compat import mock
|
||||
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ from ansible.playbook.play_context import PlayContext
|
|||
from ansible.plugins.loader import connection_loader
|
||||
from io import StringIO
|
||||
from pathlib import Path
|
||||
from ansible_collections.community.internal_test_tools.tests.unit.compat.mock import patch, MagicMock, mock_open
|
||||
from unittest.mock import patch, MagicMock, mock_open
|
||||
|
||||
|
||||
paramiko = pytest.importorskip('paramiko')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue