Package translate :: Package convert :: Module test_dtd2po :: Class TestDTD2POCommand
[hide private]
[frames] | no frames]

Class TestDTD2POCommand

source code

test_convert.TestConvertCommand --+
                                  |
                     TestDTD2PO --+
                                  |
                                 TestDTD2POCommand

Tests running actual dtd2po 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 TestDTD2PO: convertdtd, countelements, dtd2po, singleelement, test_abandoned_accelerator, test_accesskeys_folding, test_accesskeys_mismatch, test_apos, test_carriage_return_in_multiline_dtd, test_changed_labels_and_accelerators, test_convertdtd, test_donttranslate_commentedout, test_donttranslate_label, test_donttranslate_onlyentity, test_donttranslate_simple, test_emptyentity, test_emptyentity_translated, test_escaping_newline_tabs, test_exclude_entity_includes, test_linewraps, test_localisation_note_merge, test_localisaton_note_simple, test_merge_without_template, test_merging_with_new_untranslated, test_mulitline_closing_quotes, test_multiline_with_blankline, test_preserving_spaces, test_quotes, test_simpleentity, test_spaces_at_start_of_dtd_lines, test_unassociable_accelerator, wtest_accelerator_keys_not_in_sentence

Class Variables [hide private]
  convertmodule
script to convert a mozilla .dtd UTF-8 localization format to a gettext .po localization file using the po and dtd modules, and the dtd2po convertor class which is in this module You can convert back to .dtd using po2dtd.py
  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

script to convert a mozilla .dtd UTF-8 localization format to a gettext .po localization file using the po and dtd modules, and the dtd2po convertor class which is in this module You can convert back to .dtd using po2dtd.py

Value:
translate.convert.dtd2po