Package translate :: Package convert :: Module test_txt2po :: Class TestTxt2POCommand

[hide private]
[frames] | no frames]

# Class TestTxt2POCommand

source code

    test_convert.TestConvertCommand --+
                                      |
                         TestTxt2PO --+
                                      |
                                     TestTxt2POCommand

Tests running actual txt2po commands on files

Instance Methods | [hide private]

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`, `setup_method`, `teardown_method` Inherited from `TestTxt2PO`: `singleelement`, `test_carriage_return`, `test_miltiple_units`, `test_simple`, `txt2po`

Class Variables | [hide private]

| convertmodule convert plain text (.txt) files to Gettext PO localization files
| defaultoptions = ``{``'``progress``'``:` `'``none``'``}``

Method Details | [hide private]

### test_help(self)

source code

tests getting help

Overrides: test_convert.TestConvertCommand.test_help

Class Variable Details | [hide private]

### convertmodule

convert plain text (.txt) files to Gettext PO localization files

See: http://translate.sourceforge.net/wiki/toolkit/txt2po for examples and usage instructions

Value:
  translate.convert.txt2po