示例#1
0
 def test_msgNames(self):
     expected = "TestCase1"
     observed = MsgParser.msgName(MsgParser.Messages(self.msgDict)[0])
     self.assertMultiLineEqual(expected, observed)
     with self.assertRaises(IndexError):
         MsgParser.msgName(MsgParser.Messages(self.msgDict)[1])
示例#2
0
 def test_msgNames(self):
     expected = "TestCase1"
     observed = MsgParser.msgName(MsgParser.Messages(self.msgDict)[0])
     self.assertMultiLineEqual(expected, observed)
     with self.assertRaises(IndexError):
         MsgParser.msgName(MsgParser.Messages(self.msgDict)[1])