def METHOD_NAME(self, res):
    if res.resp_type == RESPONSE_TYPE.TABLE:
        assert res.data_frame is not None, "expected to have some data, but got None"
    assert res.error_code == 0, f"expected to have zero error_code, but got {res.error_code}"
    assert res.error_message is None, f"expected to have None in error message, but got {res.error_message}"