code: def test_raise_if_failed_not_raises():
      resp = p2pd_pb.Response()
      resp.type = p2pd_pb.Response.OK
      raise_if_failed(resp)
  
imports: import asyncio
  import io
  from contextlib import AsyncExitStack
  import pytest
  from google.protobuf.message import EncodeError
  from multiaddr import Multiaddr, protocols
  from hivemind.p2p.p2p_daemon_bindings.control import ControlClient, DaemonConnector, parse_conn_protocol
  from hivemind.p2p.p2p_daemon_bindings.datastructures import PeerID, PeerInfo, StreamInfo
  from hivemind.p2p.p2p_daemon_bindings.utils import ControlFailure, raise_if_failed, read_pbmsg_safe, read_unsigned_varint, write_pbmsg, write_unsigned_varint
  from hivemind.proto import p2pd_pb2
  from test_utils.p2p_daemon import connect_safe, make_p2pd_pair_unix
label_desc: Use image node_id 2 for calling a global function with example usage: test_raise_if_failed_not_raises() without return types