Package translate :: Package storage :: Module test_pypo :: Class TestPYPOFile

[hide private]
[frames] | no frames]

# Class TestPYPOFile

source code

    test_base.TestTranslationStore --+
                                     |
                    test_po.TestPOFile --+
                                         |
                                        TestPYPOFile

Nested Classes | [hide private]

| StoreClass this represents a .po file containing various units

Instance Methods | [hide private]

test_combine_msgidcomments(self) checks that we don't get duplicate msgid comments | source code

test_merge_duplicates_msgctxt(self) checks that merging duplicates works for msgctxt | source code

test_merge_blanks(self) checks that merging adds msgid_comments to blanks | source code

test_msgid_comment(self) checks that when adding msgid_comments we place them on a newline | source code

test_keep_blanks(self) checks that keeping keeps blanks and doesn't add msgid_comments | source code

test_output_str_unicode(self) checks that we can str(element) which is in unicode | source code

test_posections(self) checks the content of all the expected sections of a PO message | source code

test_unassociated_comments(self) tests behaviour of unassociated comments. | source code

Inherited from `test_po.TestPOFile`: `pomerge`, `poparse`, `poregen`, `test_copy`, `test_empty_lines_notes`, `test_fuzzy`, `test_header_escapes`, `test_id`, `test_kde_context`, `test_makeobsolete`, `test_makeobsolete_msgctxt`, `test_makeobsolete_msgidcomments`, `test_makeobsolete_plural`, `test_malformed_obsolete_units`, `test_malformed_units`, `test_merge_duplicates`, `test_merge_mixed_sources`, `test_merging_automaticcomments`, `test_multiline_obsolete`, `test_obsolete`, `test_parse_advanced_context`, `test_parse_context`, `test_parse_file`, `test_parse_source_string`, `test_plural_unicode`, `test_plurals`, `test_simpleentry`, `test_unicode`, `test_uniforum_po`, `wtest_kde_plurals`, `xtest_makeobsolete_untranslated`

Inherited from `test_base.TestTranslationStore`: `check_equality`, `reparse`, `setup_method`, `teardown_method`, `test_add`, `test_create_blank`, `test_files`, `test_find`, `test_markup`, `test_nonascii`, `test_parse`, `test_save`, `test_translate`