Test case for RPC response handling.
| 22 | |
| 23 | @dataclass |
| 24 | class TestCase: |
| 25 | """Test case for RPC response handling.""" |
| 26 | |
| 27 | name: str |
| 28 | json_response: str |
| 29 | expected_success: bool |
| 30 | expected_data_type: type |
| 31 | expected_data: Any |
| 32 | should_raise: type[Exception] | None = None # Exception type if should raise |
| 33 | |
| 34 | |
| 35 | # ============================================================================= |
no outgoing calls
no test coverage detected