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