def test_ok(self):
     # 100%
     pofile = polib.POFile()
     pofile.append(polib.POEntry(msgid="test string", msgstr="estay ingstray"))
     pofile.save(self.popath)
     pofile.save_as_mofile(self.mopath)
     test_percentage(self.mopath)
Example #2
0
 def test_ok(self):
     # 100%
     pofile = polib.POFile()
     pofile.append(
         polib.POEntry(msgid="test string", msgstr="estay ingstray"))
     pofile.save(self.popath)
     pofile.save_as_mofile(self.mopath)
     test_percentage(self.mopath)
 def test_ok(self):
     # 100%
     with pofile_from_entry(msgid="test string",
                            msgstr="estay ingstray") as p:
         test_percentage(p.name)
Example #4
0
 def test_ok(self):
     # 100%
     with pofile_from_entry(msgid="test string", msgstr="estay ingstray") as p:
         test_percentage(p.name)