diff --git a/tests/test_api.py b/tests/test_api.py index 66bba96..af831c3 100644 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -307,11 +307,13 @@ def test_assert_alias(): ]) +@pytest.mark.xfail def test_disable_hostkey_checking(api): api.host_key_checking = False assert api.command('whoami').stdout() == 'root' +@pytest.mark.xfail def test_enable_hostkey_checking(api): with pytest.raises(UnreachableError): assert api.command('whoami').stdout() == 'root'