Package translate :: Package storage :: Module test_cpo :: Class TestCPOUnit

[hide private]
[frames] | no frames]

# Class TestCPOUnit

source code

    test_base.TestTranslationUnit --+
                                    |
                   test_po.TestPOUnit --+
                                        |
                                       TestCPOUnit

Nested Classes | [hide private]

| UnitClass Base class for translation units.

Instance Methods | [hide private]

test_plurals(self) Tests that plurals are handled correctly. | source code

test_plural_reduction(self) checks that reducing the number of plurals supplied works | source code

test_notes(self) tests that the generic notes API works | source code

test_notes_withcomments(self) tests that when we add notes that look like comments that we treat them properly | source code

Inherited from `test_po.TestPOUnit`: `test_adding_empty_note`, `test_errors`, `test_extract_msgidcomments_from_text`, `test_isheader`, `test_istranslatable`, `test_markreview`, `test_no_plural_settarget`, `test_wrapping_bug`

Inherited from `test_base.TestTranslationUnit`: `setup_method`, `test_create`, `test_difficult_escapes`, `test_eq`, `test_escapes`, `test_isfuzzy`, `test_note_sanity`, `test_target`