Package translate :: Package convert :: Module test_moz2po

[hide private]
[frames] | no frames]

# Source Code for Module translate.convert.test_moz2po

     1  #!/usr/bin/env python
     2
     3  from translate.convert import moz2po
     4  from translate.convert import test_convert
     5
     6 -class TestMoz2PO:
     7      pass
     8
     9 -class TestMoz2POCommand(test_convert.TestConvertCommand, TestMoz2PO):
    10      """Tests running actual moz2po commands on files"""
    11      convertmodule = moz2po
    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, "--duplicates=DUPLICATESTYLE")
    18          options = self.help_check(options, "-P, --pot")
    19          options = self.help_check(options, "-t TEMPLATE, --template=TEMPLATE", last=True)
    20