@pytest.mark.integration
def test_confirm_bad_signature(test_http_client: Client) -> None:
    'Test that RPCException is raised when trying to confirm an invalid signature.'
    with pytest.raises(RPCException) as exc_info:
        test_http_client.confirm_transaction('foo')
    err_object = exc_info.value.args[0]
    assert (err_object == {'code': (- 32602), 'message': 'Invalid param: WrongSize'})
Test that RPCException is raised when trying to confirm an invalid signature.
@pytest.mark.integration
def test_confirm_bad_signature(test_http_client: Client) -> None:
    
    with pytest.raises(RPCException) as exc_info:
        test_http_client.confirm_transaction('foo')
    err_object = exc_info.value.args[0]
    assert (err_object == {'code': (- 32602), 'message': 'Invalid param: WrongSize'})