Пример #1
0
 def setUpClass(cls):
     with gettextutil.create_pot(PODIR) as pot_path:
         cls.pot = polib.pofile(pot_path)
Пример #2
0
def test_potfile_format():
    with gettextutil.create_pot(PODIR) as pot_path:
        gettextutil.check_pot(pot_path)
Пример #3
0
 def setUpClass(cls):
     gettextutil.check_version()
     with gettextutil.create_pot(PODIR, "quodlibet") as pot_path:
         cls.pot = polib.pofile(pot_path)
Пример #4
0
 def setUpClass(cls):
     gettextutil.check_version()
     with gettextutil.create_pot(PODIR, "quodlibet") as pot_path:
         cls.pot = polib.pofile(pot_path)
Пример #5
0
def test_potfile_format():
    with gettextutil.create_pot(PODIR, "quodlibet"):
        gettextutil.check_pot(PODIR, "quodlibet")