Module Import alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam defaults body If Str body Return Call NameLoad Raise Call NameLoad Str decorator_list Call AttributeLoad NameLoad attr keyword ListLoad Str FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str ListLoad Str Assert Call NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str ListLoad Str Assign NameStore Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Str Assert Call NameLoad Call AttributeLoad NameLoad attr NameLoad Assert Call NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Dict Str Str NameLoad Assert CompareEq Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Str ListLoad Str Str Dict Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str ListLoad Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Str Assert Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Str ListLoad Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assert Call NameLoad NameLoad Str decorator_list
N/A N/A pytest tinyrpc.protocols.jsonrpc JSONRPCProtocol tinyrpc RPCErrorResponse protocol N/A N/A request N/A N/A N/A jsonrpc N/A N/A N/A JSONRPCProtocol N/A N/A RuntimeError Bad protocol name in test case N/A N/A N/A pytest fixture params N/A jsonrpc test_protocol_returns_strings N/A N/A protocol N/A N/A N/A req N/A N/A protocol create_request foo N/A bar N/A N/A isinstance N/A N/A req serialize str N/A test_procotol_responds_strings N/A N/A protocol N/A N/A N/A req N/A N/A protocol create_request foo N/A bar N/A rep N/A N/A req respond 42 N/A err_rep N/A N/A req error_respond N/A Exception foo N/A N/A isinstance N/A N/A rep serialize str N/A N/A isinstance N/A N/A err_rep serialize str N/A test_one_way N/A N/A protocol N/A N/A N/A req N/A N/A protocol create_request foo None N/A a b True N/A N/A N/A N/A req respond None None N/A test_raises_on_args_and_kwargs N/A N/A protocol N/A N/A N/A N/A N/A pytest raises Exception N/A N/A N/A N/A protocol create_request foo N/A arg1 arg2 N/A kw_key kw_value N/A test_supports_no_args N/A N/A protocol N/A N/A N/A N/A N/A protocol create_request foo N/A test_creates_error_response N/A N/A protocol N/A N/A N/A req N/A N/A protocol create_request foo N/A bar N/A err_rep N/A N/A req error_respond N/A Exception foo N/A N/A hasattr err_rep error N/A test_parses_error_response N/A N/A protocol N/A N/A N/A req N/A N/A protocol create_request foo N/A bar N/A err_rep N/A N/A req error_respond N/A Exception foo N/A parsed N/A N/A protocol parse_reply N/A N/A err_rep serialize N/A N/A hasattr parsed error N/A