THE ORIONIS API
Build with clarity.
Explore the building blocks of an async-first Python framework. Every module, class, and method — connected, searchable, and ready to build with.
class documentation
class McpTestResponse: (source)
Decoded result and notifications from a complete wire round trip.
| Method | assert |
Require a successful protocol and tool result. |
| Method | assert |
Check returned tool text without bypassing response serialization. |
| Class Variable | message |
Final decoded JSON-RPC response, or an empty mapping when none arrived. |
| Class Variable | notifications |
Decoded notifications received before the final response. |
Require a successful protocol and tool result.
| Returns | |
None | No return value when the response succeeds. |
| Raises | |
AssertionError | If the result is absent, malformed, or reports a protocol or tool error. |
Check returned tool text without bypassing response serialization.
| Parameters | |
text:str | Substring required in at least one text content block. |
| Returns | |
None | No return value when a matching text block exists. |
| Raises | |
AssertionError | If no valid text block contains the requested substring. |