예제 #1
0
 def test_format_borrowed_word(self):
     entry = LexicalEntry()
     entry.set_borrowed_word("English")
     entry.set_written_form("wave")
     expected = "\\textit{From:} English wave. "
     self.assertEqual(format_borrowed_word(entry, font), expected)
     del entry
예제 #2
0
 def test_format_borrowed_word(self):
     entry = LexicalEntry()
     entry.set_borrowed_word("English")
     entry.set_written_form("wave")
     expected = "\\textit{From:} English wave. "
     self.assertEqual(format_borrowed_word(entry, font), expected)
     del entry