File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
tests/unit/plugins/connection Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 66
77__metaclass__ = type
88
9+ import pytest
10+
11+ from ansible .module_utils ._text import to_bytes
12+ from ansible .errors import AnsibleError , AnsibleFileNotFound
13+ from ansible .playbook .play_context import PlayContext
14+ from ansible .plugins .loader import connection_loader
915from ansible_collections .ansible .netcommon .tests .unit .compat import unittest
1016from ansible_collections .ansible .netcommon .tests .unit .compat .mock import (
1117 patch ,
1218 MagicMock ,
1319)
1420
15- from ansible .module_utils ._text import to_bytes
16- from ansible .errors import AnsibleError , AnsibleFileNotFound
17- from ansible .playbook .play_context import PlayContext
18- from ansible .plugins .loader import connection_loader
21+ pylibsshext = pytest .importorskip ("pylibsshext" )
1922
2023
2124class TestConnectionClass (unittest .TestCase ):
You can’t perform that action at this time.
0 commit comments