def setUpClass(cls): """ Creates the Message object for use throughout all the tests. """ for key, value in messages.items(): # Create a new message for each message message = SipMessage() message.parse(value) parsed_messages[key] = message
def setUpClass(cls): for key, value in messages.items(): # Create a new message for each message message = SipMessage() message.parse(value) parsed_messages[key] = message