From 28153db4a835808d850f01f09f7bf5f4cb92394e Mon Sep 17 00:00:00 2001 From: Pablo Santiago Blum de Aguiar Date: Tue, 29 Mar 2016 23:34:29 -0300 Subject: [PATCH] #486: Ignore a test on Windows --- tests/rules/test_ssh_known_host.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/rules/test_ssh_known_host.py b/tests/rules/test_ssh_known_host.py index f2828a37..66b76e96 100644 --- a/tests/rules/test_ssh_known_host.py +++ b/tests/rules/test_ssh_known_host.py @@ -52,6 +52,7 @@ def test_match(ssh_error): assert not match(Command('ssh')) +@pytest.mark.skipif(os.name == 'nt', reason='Skip if testing on Windows') def test_side_effect(ssh_error): errormsg, path, reset, known_hosts = ssh_error command = Command('ssh user@host', stderr=errormsg)