Package translate :: Package convert :: Module test_php2po :: Class TestPhp2POCommand

[hide private]
[frames] | no frames]

# Class TestPhp2POCommand

source code

    test_convert.TestConvertCommand --+
                                      |
                         TestPhp2PO --+
                                      |
                                     TestPhp2POCommand

Tests running actual php2po 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 `TestPhp2PO`: `convertphp`, `countelements`, `php2po`, `singleelement`, `test_comments_before`, `test_convertphp`, `test_emptyentry`, `test_emptyentry_translated`, `test_multiline`, `test_newlines_in_value`, `test_simpleentry`, `test_spaces_in_name`, `test_unicode`

Class Variables | [hide private]

| convertmodule convert PHP localization 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 PHP localization files to Gettext PO localization files

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

Value:
  translate.convert.php2po