def assertErrorFrame(self, frame, msgsub):
assert frame.cmd.lower() == '<STR_LIT:error>'<EOL>assert msgsub.lower() in frame.headers['<STR_LIT:message>'].lower()<EOL>
Assert that the passed in frame is an error frame and that message contains specified
        string.