updated sleektest to use new stanza get/set values api

This commit is contained in:
Nathan Fritz 2010-07-19 16:25:01 -07:00
parent b5a14a0190
commit f74baf1c23

View file

@ -134,9 +134,9 @@ class SleekTest(unittest.TestCase):
if xml.attrib.get('type', None) is None: if xml.attrib.get('type', None) is None:
xml.attrib['type'] = 'normal' xml.attrib['type'] = 'normal'
values = msg2.getValues() values = msg2.getStanzaValues()
msg3 = self.Message() msg3 = self.Message()
msg3.setValues(values) msg3.setStanzaValues(values)
debug += "Second Constructed Stanza:\n%s\n" % ET.tostring(msg3.xml) debug += "Second Constructed Stanza:\n%s\n" % ET.tostring(msg3.xml)
debug = "Three methods for creating stanza do not match:\n" + debug debug = "Three methods for creating stanza do not match:\n" + debug