Package translate :: Package storage :: Module test_factory :: Class TestPOXliffFactory
[hide private]
[frames] | no frames]

Class TestPOXliffFactory

source code

BaseTestFactory --+
                  |
                 TestPOXliffFactory

Nested Classes [hide private]
  expected_instance
a file for the po variant of Xliff files
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 datatype="po" original="file.po" source-language="en-US"><body><\
trans-unit approved="no" id="1" restype="x-gettext-domain-header" xml:\
space="preserve">
<source>MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
...