mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-11-24 03:00:15 +00:00
5c76d969f7
Can now use: (where self is a SleekTest instance) self.stanzaPlugin(stanza, plugin) self.Message() \ self.Iq() > Just like basexmpp.Message(), etc. self.Presence() / self.checkMessage(msg, xmlstring) self.checkIq(iq, xmlstring) self.checkPresence(pres, xmlstring) <- Not implemented yet, but stub is there. The check* methods also accept a use_values keyword argument that defaults to True. When this value is True, an additional test is executed by creating a stanza using getValues() and setValues(). Since some stanza objects can override these two methods, disabling this test is sometimes required. |
||
---|---|---|
.. | ||
__init__.py | ||
sleektest.py | ||
test_addresses.py | ||
test_chatstates.py | ||
test_disco.py | ||
test_events.py | ||
test_messagestanzas.py | ||
test_presencestanzas.py | ||
test_pubsubstanzas.py | ||
xmlcompare.py |