Paul Wise - 2007-02-20

Logged In: YES
user_id=35028
Originator: YES

The tests fail in khmerconverter 1.3 too:

$ python modules/legacyConvertOdt.py
.E..
======================================================================
ERROR: testProcessContent (__main__.TestConvertOdt)
----------------------------------------------------------------------
Traceback (most recent call last):
File "modules/legacyConvertOdt.py", line 227, in testProcessContent
myXml = header + \ UnicodeDecodeError: 'ascii' codec can't decode byte 0xe1 in position 0: ordinal not in range(128)

----------------------------------------------------------------------
Ran 4 tests in 0.016s

FAILED (errors=1)
$ python modules/unicodeConvertOdt.py
F..
======================================================================
FAIL: testModifyStyle (__main__.TestConvertOdt)
----------------------------------------------------------------------
Traceback (most recent call last):
File "modules/unicodeConvertOdt.py", line 231, in testModifyStyle
self.assertEqual(unicodeConvertOdt().processStyle(xmldata), modxmldata)
AssertionError: '<?xml version="1.0" encoding="utf-8"?>\n<office:document-styles office:version="1.0" xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"><office:font-face-decls><style:font-face style:font-pitch="variable" style:name="Khmer OS" svg:font-family="Khmer OS"/></office:font-face-decls></office:document-styles>' != '<?xml version="1.0" encoding="utf-8"?><office:document-styles office:version="1.0" xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0"><office:font-face-decls><style:font-face style:font-pitch="variable" style:name="Khmer OS" svg:font-family="Khmer OS"/></office:font-face-decls></office:document-styles>'

----------------------------------------------------------------------
Ran 3 tests in 0.005s

FAILED (failures=1)