def setUpClass(cls): with gettextutil.create_pot(PODIR) as pot_path: cls.pot = polib.pofile(pot_path)
def test_potfile_format(): with gettextutil.create_pot(PODIR) as pot_path: gettextutil.check_pot(pot_path)
def setUpClass(cls): gettextutil.check_version() with gettextutil.create_pot(PODIR, "quodlibet") as pot_path: cls.pot = polib.pofile(pot_path)
def setUpClass(cls): gettextutil.check_version() with gettextutil.create_pot(PODIR, "quodlibet") as pot_path: cls.pot = polib.pofile(pot_path)
def test_potfile_format(): with gettextutil.create_pot(PODIR, "quodlibet"): gettextutil.check_pot(PODIR, "quodlibet")