Package translate :: Package storage :: Module test_tmx :: Class TestTMXUnitFromParsedString

[hide private]
[frames] | no frames]

# Class TestTMXUnitFromParsedString

source code

    test_base.TestTranslationUnit --+
                                    |
                          TestTMXUnit --+
                                        |
                                       TestTMXUnitFromParsedString

Nested Classes | [hide private]

Inherited from `TestTMXUnit`: `UnitClass`

Instance Methods | [hide private]

setup_method(self, method) | source code

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

Class Variables | [hide private]

| tmxsource = ``'``<?xml version="1.0" encoding="utf-8"?>\n<!DOCTYPE``...``

Method Details | [hide private]

### setup_method(self, method)

source code

Overrides: test_base.TestTranslationUnit.setup_method

Class Variable Details | [hide private]

### tmxsource

Value:

      '''<?xml version="1.0" encoding="utf-8"?>
      <!DOCTYPE tmx
        SYSTEM \'tmx14.dtd\'>
      <tmx version="1.4">
              <header adminlang="en" creationtool="Translate Toolkit - po2tm
      x" creationtoolversion="1.0beta" datatype="PlainText" o-tmf="UTF-8" se
      gtype="sentence" srclang="en"/>
              <body>
      ...