def setUp(self): self.xml = kissxml.parsestring('''<?xml version="1.0" encoding="UTF-8"?> <test> <string>Test</string> <integer>123</integer> </test> ''')
def setUp(self): self.xml = kissxml.parsestring('<xml test="attribute"><child></child></xml>')
def test_kissxml(self): for name, vals in self.get_tests().iteritems(): self.assertXMLHasProperties(kissxml.parsestring(vals[1]), vals[0])