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

Module stanza

Classes [hide private]
  TestPayload
  TestStanza
Functions [hide private]
 
setUpModule()
Variables [hide private]
  STANZA0 = '<presence xmlns=\'jabber:client\' />'
  STANZA1 = '<presence xmlns=\'jabber:server\'><status>STATUS</s...
  STANZA2 = '<message xmlns=\'jabber:client\' />'
  STANZA3 = '\n<presence from=\'a@b.c/d\' to=\'e@f.g/h\' id=\'66...
  STANZA4 = '\n<message from=\'a@b.c/d\' to=\'e@f.g\' id=\'666\'...
  STANZA5 = '\n<iq from=\'a@b.c/d\' to=\'e@f.g/h\' id=\'666\' ty...
  STANZA6 = '\n<iq from=\'a@b.c/d\' to=\'e@f.g/h\' id=\'666\' ty...
  STANZA7 = '\n<iq from=\'a@b.c/d\' to=\'e@f.g/h\' id=\'666\' ty...
Variables Details [hide private]

STANZA1

Value:
'<presence xmlns=\'jabber:server\'><status>STATUS</status></presence>'

STANZA3

Value:
'''
<presence from=\'a@b.c/d\' to=\'e@f.g/h\' id=\'666\' type=\'unavailabl\
e\'
                                                xmlns=\'jabber:client\\
'/>
'''

STANZA4

Value:
'''
<message from=\'a@b.c/d\' to=\'e@f.g\' id=\'666\' type=\'chat\'
                                                    xmlns=\'jabber:cli\
ent\'>
        <subject>Subject</subject>
        <body>Body</body>
</message>
'''

STANZA5

Value:
'''
<iq from=\'a@b.c/d\' to=\'e@f.g/h\' id=\'666\' type=\'get\' xmlns=\'ja\
bber:client\'>
    <query xmlns=\'jabber:iq:version\' />
</iq>
'''

STANZA6

Value:
'''
<iq from=\'a@b.c/d\' to=\'e@f.g/h\' id=\'666\' type=\'get\' xmlns=\'ja\
bber:client\'>
    <element xmlns=\'http://pyxmpp.jajcus.net/test/ns\' />
</iq>
'''

STANZA7

Value:
'''
<iq from=\'a@b.c/d\' to=\'e@f.g/h\' id=\'666\' type=\'get\' xmlns=\'ja\
bber:client\'>
    <element xmlns=\'http://pyxmpp.jajcus.net/test/ns\'><data>Test</da\
ta></element>
</iq>
'''