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])
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])