def validate_cmd_response_int(name, got, expected):
if got != expected:<EOL><INDENT>raise(pyhsm.exception.YHSM_Error("<STR_LIT>"% (name, got, expected)))<EOL><DEDENT>return got<EOL>
Check that some value returned in the response to a command matches what
we put in the request (the command).