3 from translate
.convert
import moz2po
4 from translate
.convert
import test_convert
9 class TestMoz2POCommand(test_convert
.TestConvertCommand
, TestMoz2PO
):
10 """Tests running actual moz2po commands on files"""
11 convertmodule
= moz2po
12 defaultoptions
= {"progress": "none"}
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)