Package translate :: Package convert :: Module test_po2moz
[hide private]
[frames] | no frames]

Source Code for Module translate.convert.test_po2moz

 1  #!/usr/bin/env python 
 2   
 3  from translate.convert import po2moz 
 4  from translate.convert import test_convert 
 5   
6 -class TestPO2Moz:
7 pass
8
9 -class TestPO2MozCommand(test_convert.TestConvertCommand, TestPO2Moz):
10 """Tests running actual po2moz commands on files""" 11 convertmodule = po2moz 12 defaultoptions = {"progress": "none"} 13
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)
22