def doTable(self, table): actual = table.parts.more.parts.parts expectedCell = table.parts.more.more.parts expected = expectedCell.parts Fixture().doTables(actual) if self.reportsEqual(actual, expected): self.right(expectedCell) else: self.wrong(expectedCell) ParseUtility.printParse(actual, "actual")
def test1(self): table = Parse("<table><tr><td>fit.ff.FixtureUnderTest</td>" "<td>r</td>" "</tr></table>\n") Fixture().doTables(table) ParseUtility.printParse(table, "test")
def test1(self): table = Parse("<table><tr><td>fit.ff.FixtureUnderTest</td>" "<td>r</td>" "</tr></table>\n") Fixture().doTables(table) ParseUtility.printParse(table, "test")