Package pyxmpp2 :: Package test :: Module iq
[hide private]

Module iq

Classes [hide private]
  TestIq
Functions [hide private]
 
setUpModule()
Variables [hide private]
  IQ1 = '\n<iq xmlns="jabber:client" from=\'source@example.com/r...
  IQ2 = '\n<iq xmlns="jabber:client" to=\'source@example.com/res...
  IQ3 = '\n<iq xmlns="jabber:client" from=\'source@example.com/r...
  IQ4 = '\n<iq xmlns="jabber:client" to=\'source@example.com/res...
  IQ5 = '\n<iq xmlns="jabber:client" to=\'source@example.com/res...
Variables Details [hide private]

IQ1

Value:
'''
<iq xmlns="jabber:client" from=\'source@example.com/res\'
                                to=\'dest@example.com\' type=\'get\' i\
d=\'1\'>
<payload xmlns="http://pyxmpp.jajcus.net/xmlns/test"><abc/></payload>
</iq>'''

IQ2

Value:
'''
<iq xmlns="jabber:client" to=\'source@example.com/res\'
                                from=\'dest@example.com\' type=\'resul\
t\' id=\'1\'>
<payload xmlns="http://pyxmpp.jajcus.net/xmlns/test"><abc/></payload>
</iq>'''

IQ3

Value:
'''
<iq xmlns="jabber:client" from=\'source@example.com/res\'
                                to=\'dest@example.com\' type=\'set\' i\
d=\'2\'>
<payload xmlns="http://pyxmpp.jajcus.net/xmlns/test"><abc/></payload>
</iq>'''

IQ4

Value:
'''
<iq xmlns="jabber:client" to=\'source@example.com/res\'
                                from=\'dest@example.com\' type=\'resul\
t\' id=\'2\'>
</iq>'''

IQ5

Value:
'''
<iq xmlns="jabber:client" to=\'source@example.com/res\'
                                from=\'dest@example.com\' type=\'error\
\' id=\'1\'>
<payload xmlns="http://pyxmpp.jajcus.net/xmlns/test"><abc/></payload>
<error type="modify"><bad-request xmlns=\'urn:ietf:params:xml:ns:xmpp-\
stanzas\'/></error>
</iq>'''