Package translate :: Package storage :: Module test_poxliff :: Class TestPOXLIFFfile

[hide private]
[frames] | no frames]

# Class TestPOXLIFFfile

source code

    test_base.TestTranslationStore --+
                                     |
              test_xliff.TestXLIFFfile --+
                                         |
                                        TestPOXLIFFfile

Nested Classes | [hide private]

| StoreClass a file for the po variant of Xliff files

Instance Methods | [hide private]

test_parse(self) Tests converting to a string and parsing the resulting string | source code

test_notes(self) | source code

Inherited from `test_xliff.TestXLIFFfile`: `test_alttrans`, `test_basic`, `test_fuzzy`, `test_parsing`, `test_source`, `test_sourcelanguage`, `test_target`, `test_targetlanguage`

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_save`, `test_translate`

Class Variables | [hide private]

| xliffskeleton = ``'``<?xml version="1.0" ?>\n<xliff version="1.1"` `...``
Inherited from `test_xliff.TestXLIFFfile`: `skeleton`

Method Details | [hide private]

### test_parse(self)

source code

Tests converting to a string and parsing the resulting string

Overrides: test_base.TestTranslationStore.test_parse
  (inherited documentation)

### test_notes(self)

source code

Overrides: test_xliff.TestXLIFFfile.test_notes

Class Variable Details | [hide private]

### xliffskeleton

Value:

      '''<?xml version="1.0" ?>
      <xliff version="1.1" xmlns="urn:oasis:names:tc:xliff:document:1.1">
        <file original="filename.po" source-language="en-US" datatype="po">
          <body>
              %s
          </body>
        </file>
      </xliff>'''