Expand description
Custom assertions for MCP testing.
This module provides assertion helpers that make it easier to test MCP responses and results.
Functionsยง
- assert_
content_ contains - Assert that content contains expected text.
- assert_
content_ text - Assert that content is text with expected value.
- assert_
output_ error - Assert that a
ToolOutputis an error. - assert_
output_ success - Assert that a
ToolOutputis successful with expected text. - assert_
tool_ error - Assert that a tool result is an error with expected message.
- assert_
tool_ success - Assert that a tool result is successful and contains expected text.