* test encoding
This commit is contained in:
@@ -56,9 +56,9 @@ class XmlFileTestCase(unittest.TestCase):
|
|||||||
print '*', string
|
print '*', string
|
||||||
#self.assert_(string.startswith('Name'))
|
#self.assert_(string.startswith('Name'))
|
||||||
xml = xmlfile.XmlFile('A')
|
xml = xmlfile.XmlFile('A')
|
||||||
a.otherInfo.encode(xml)
|
a.encode(xml)
|
||||||
xml.writexml('/tmp/a.xml')
|
xml.writexml('/tmp/a.xml')
|
||||||
print 'A DONE'
|
print '/tmp/a.xml written'
|
||||||
return
|
return
|
||||||
xml = xmlfile.XmlFile('A')
|
xml = xmlfile.XmlFile('A')
|
||||||
a2 = A()
|
a2 = A()
|
||||||
|
|||||||
Reference in New Issue
Block a user