Package translate :: Package storage :: Module test_factory :: Class TestXliffFactory

[hide private]
[frames] | no frames]

# Class TestXliffFactory

source code

    BaseTestFactory --+
                      |
                     TestXliffFactory

Nested Classes | [hide private]

| expected_instance Class representing a XLIFF file store.

Instance Methods | [hide private]

Inherited from `BaseTestFactory`: `setup_method`, `teardown_method`, `test_bz2file`, `test_directory`, `test_get_noname_object`, `test_getclass`, `test_getobject`, `test_gzfile`

Class Methods | [hide private]

Inherited from `BaseTestFactory`: `cleardir`

Class Variables | [hide private]

| filename = ``'``dummy.xliff``'``
| file_content = ``'``<?xml version="1.0" encoding="utf-8"?>\n<xliff``...``

Class Variable Details | [hide private]

### file_content

Value:

      '''<?xml version="1.0" encoding="utf-8"?>
      <xliff version="1.1" xmlns="urn:oasis:names:tc:xliff:document:1.1">
      <file>
      <body>
        <trans-unit>
          <source>test</source>
          <target>rest</target>
        </trans-unit>
      ...