fix git support for v1.5.3 (or higher) by setting "--work-tree"
[translate_toolkit.git] / convert / test_moz2po.py
blob059ae307d268732be4600641295f00629fd66762
1 #!/usr/bin/env python
3 from translate.convert import moz2po
4 from translate.convert import test_convert
6 class TestMoz2PO:
7 pass
9 class TestMoz2POCommand(test_convert.TestConvertCommand, TestMoz2PO):
10 """Tests running actual moz2po commands on files"""
11 convertmodule = moz2po
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, "--duplicates=DUPLICATESTYLE")
18 options = self.help_check(options, "-P, --pot")
19 options = self.help_check(options, "-t TEMPLATE, --template=TEMPLATE", last=True)