def test2(self): expect = [4313, 422, 0, 0, 16174, 2, 0, 0] nl = parse_odt(TESTDIR+"/test2.odt") log = "\nExpect : %s\nBut return %s" % (expect, nl)
def test1(self): expect = [11200, 3000, 698, 60, 50, 40, 30, 20] nl = parse_odt(TESTDIR+"/test1.odt") log = "\nExpect : %s\nBut return %s" % (expect, nl) self.assertTrue(nl == expect, msg = log)