skip winrm unit tests if winrm is not installed (#41596)
(cherry picked from commit b01779ad18
)
This commit is contained in:
parent
8a0f575981
commit
f9f368f123
1 changed files with 2 additions and 0 deletions
|
@ -17,6 +17,8 @@ from ansible.playbook.play_context import PlayContext
|
|||
from ansible.plugins.loader import connection_loader
|
||||
from ansible.plugins.connection import winrm
|
||||
|
||||
pytest.importorskip("winrm")
|
||||
|
||||
|
||||
class TestConnectionWinRM(object):
|
||||
|
||||
|
|
Loading…
Reference in a new issue