def testConvertToGeeknoteTableHeader(self): source = ["|------+----+------|"] target = ["---|---|---"] result = enmlOutput.convertToGeeknoteTable(source) self.assertEqual(result, target)
def testConvertToGeeknoteTable(self): source = ["| Title | test | last |"] target = ["Title | test | last"] result = enmlOutput.convertToGeeknoteTable(source) self.assertEqual(result, target)