mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
skip winrm unit tests if winrm is not installed (#41596)
This commit is contained in:
parent
3935cce394
commit
b01779ad18
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