def test_jsonrpc_protocol_specific_methods_2(live_server): c = HTTPClient(live_server.url + '/json-only/') # method_x is available only via JSON-RPC assert c.method_x() == 'JSON only'