def test_remote_host_from_proto_fail():
     with pytest.raises(IncorrectTypeError) as err_info:
         RemoteHost.from_proto('')
     assert err_info.value.message == (
         "RemoteHost's parameter 'host' was"
         " type 'str' but should be of class 'dlpx.virtualization.api"
         ".common_pb2.RemoteHost'.")
 def test_remote_host_from_proto_success():
     remote_host_proto_buf = common_pb2.RemoteHost()
     remote_host = RemoteHost.from_proto(remote_host_proto_buf)
     assert isinstance(remote_host, RemoteHost)