Package translate :: Package convert :: Module test_html2po :: Class TestHTML2POCommand

[hide private]
[frames] | no frames]

# Class TestHTML2POCommand

source code

    test_convert.TestConvertCommand --+
                                      |
                        TestHTML2PO --+
                                      |
                                     TestHTML2POCommand

Tests running actual html2po 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 `TestHTML2PO`: `check_null`, `check_phpsnippet`, `check_single`, `compareunit`, `countunits`, `html2po`, `po2html`, `test_address`, `test_carriage_return`, `test_dd`, `test_dt`, `test_duplicates`, `test_encoding_latin1`, `test_headings`, `test_headings_with_linebreaks`, `test_htmllang`, `test_img_empty`, `test_meta`, `test_multiple_php`, `test_php`, `test_php_multiline`, `test_span`, `test_strip_html`, `test_table_complex`, `test_table_empty`, `test_table_simple`, `test_tag_a`, `test_tag_a_with_linebreak`, `test_tag_div`, `test_tag_div_with_linebreaks`, `test_tag_img`, `test_tag_p`, `test_tag_p_with_linebreak`, `test_tag_table_summary`, `test_title`, `test_title_with_linebreak`, `test_ul`, `wtest_multiline_reflow`, `wtest_nested_tags`

Class Variables | [hide private]

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

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

Value:
  translate.convert.html2po