fix git support for v1.5.3 (or higher) by setting "--work-tree"
[translate_toolkit.git] / convert / test_po2moz.py
blob9c022f17255dd9ce18f482539f4b7347e208a1dc
1 #!/usr/bin/env python
3 from translate.convert import po2moz
4 from translate.convert import test_convert
6 class TestPO2Moz:
7 pass
9 class TestPO2MozCommand(test_convert.TestConvertCommand, TestPO2Moz):
10 """Tests running actual po2moz commands on files"""
11 convertmodule = po2moz
12 defaultoptions = {"progress": "none"}
14 def test_help(self):
15 """tests getting help"""
16 options = test_convert.TestConvertCommand.test_help(self)
17 options = self.help_check(options, "-t TEMPLATE, --template=TEMPLATE")
18 options = self.help_check(options, "-l LOCALE, --locale=LOCALE")
19 options = self.help_check(options, "--clonexpi=CLONEXPI")
20 options = self.help_check(options, "--fuzzy")
21 options = self.help_check(options, "--nofuzzy", last=True)