skip winrm unit tests if winrm is not installed (#41596)

(cherry picked from commit b01779ad18)
This commit is contained in:
Matt Davis 2018-06-15 10:23:15 -07:00 committed by Matt Clay
parent 8a0f575981
commit f9f368f123

View file

@ -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):