updated sleektest to use new stanza get/set values api
This commit is contained in:
parent
b5a14a0190
commit
f74baf1c23
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue