示例#1
0
 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
示例#2
0
 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