Package translate :: Package convert :: Module test_po2dtd :: Class TestPO2DTDCommand

[hide private]
[frames] | no frames]

# Class TestPO2DTDCommand

source code

    test_convert.TestConvertCommand --+
                                      |
                         TestPO2DTD --+
                                      |
                                     TestPO2DTDCommand

Tests running actual po2dtd commands on files

Instance Methods | [hide private]

setup_method(self, method) call both base classes setup_methods | source code

teardown_method(self, method) call both base classes teardown_methods | source code

test_help(self) tests getting help | source code

Inherited from `test_convert.TestConvertCommand`: `cleardir`, `create_testfile`, `get_testfilename`, `help_check`, `open_testfile`, `read_testfile`, `run_command`

Inherited from `TestPO2DTD`: `check_roundtrip`, `convertdtd`, `merge2dtd`, `po2dtd`, `roundtripsource`, `roundtripstring`, `test_accesskey_types`, `test_accesskeycase`, `test_ampersandfix`, `test_ampersandwarning`, `test_comments`, `test_comments_translator`, `test_convertdtd`, `test_entities`, `test_entities_two`, `test_escapedstr`, `test_joinlines`, `test_merging_entries_with_spaces_removed`, `test_missingaccesskey`, `test_newlines_escapes`, `test_retains_hashprefix`, `test_roundtrip_escape`, `test_roundtrip_quotes`, `test_roundtrip_simple`

Class Variables | [hide private]

| convertmodule script that converts a .po file to a UTF-8 encoded .dtd file as used by mozilla either done using a template or just using the .po file
| defaultoptions = ``{``'``progress``'``:` `'``none``'``}``

Method Details | [hide private]

### setup_method(self, method)

source code

call both base classes setup_methods

Overrides: TestPO2DTD.setup_method

### teardown_method(self, method)

source code

call both base classes teardown_methods

Overrides: TestPO2DTD.teardown_method

### test_help(self)

source code

tests getting help

Overrides: test_convert.TestConvertCommand.test_help

Class Variable Details | [hide private]

### convertmodule

script that converts a .po file to a UTF-8 encoded .dtd file as used by mozilla either done using a template or just using the .po file

Value:
  translate.convert.po2dtd