slixmpp/tests
Lance Stout d979b5f2b9 Add caching support to xep_0030.
New plugin configuration options:

    use_cache    - Enable caching disco info results. Defaults to True
    wrap_results - Always return disco results in an Iq stanza. Defaults
                   to False

Node handler changes:

    Handlers now take four arguments: jid, node, ifrom, data

    Most older style handlers will still work, depending on if they
    raise a TypeError for incorrect number of arguments. Handlers that
    used *args may not work.

New get_info options:

    cached - Passing cached=True to get_info() will attempt to load
             results from the cache. If nothing is found, a query
             will be sent as normal. If set to False, the cache
             will be skipped, even if it contains results.

New method:

    supports() - Given a JID/node pair and a feature, return True
                 if the feature is supported, False if not, and
                 None if there was a timeout. By default, the search
                 will use the cache.
2011-12-28 10:16:31 -05:00
..
__init__.py Corrected test errors. 2010-10-07 19:42:28 -04:00
live_multiple_streams.py Fixed some live stream test errors. 2010-11-17 15:45:16 -05:00
live_test.py Fixed some live stream test errors. 2010-11-17 15:45:16 -05:00
test_events.py Fix del_event_handler for Python3 (different semantics for filter()). 2011-09-23 12:03:49 -04:00
test_jid.py Explicitly test for inequality in JIDs. 2011-11-14 09:15:43 -08:00
test_overall.py Fix tests in Python3. 2011-08-25 00:21:53 -07:00
test_stanza_base.py Unit test reorganization. 2010-10-07 10:58:13 -04:00
test_stanza_element.py Fix iterable substanzas when added as normal plugin. 2011-12-11 17:04:58 -08:00
test_stanza_error.py Ensure that the XEP-0086 plugin is loaded. 2011-05-13 15:28:47 -04:00
test_stanza_gmail.py Simplified SleekTest. 2010-11-05 21:18:48 -04:00
test_stanza_iq.py Simplified SleekTest. 2010-11-05 21:18:48 -04:00
test_stanza_message.py Fix tests for Nick stanza. 2011-01-19 19:03:02 -05:00
test_stanza_presence.py Merge branch 'develop' into roster 2011-02-02 09:13:22 -05:00
test_stanza_roster.py First pass at integrating the new roster manager. 2010-11-17 01:49:19 -05:00
test_stanza_xep_0004.py Add tests for setting a form's type to 'submit' or 'cancel'. 2011-08-13 01:28:18 -07:00
test_stanza_xep_0009.py XEP-0009: Updated tests to work in python 3 2011-12-20 21:19:51 -05:00
test_stanza_xep_0030.py First pass at a new XEP-0030 plugin. 2010-12-09 18:57:27 -05:00
test_stanza_xep_0033.py Simplified SleekTest. 2010-11-05 21:18:48 -04:00
test_stanza_xep_0050.py Added new XEP-0050 implementation. 2011-03-24 09:35:36 -04:00
test_stanza_xep_0059.py Added new XEP-0059 plugin. 2011-01-08 10:58:47 -05:00
test_stanza_xep_0060.py Add tests for pubsub error stanzas 2011-09-01 15:26:54 -07:00
test_stanza_xep_0085.py Updated the XEP-0085 plugin. 2011-02-24 12:10:29 -05:00
test_stream.py Added support for testind disconnect errors. 2011-05-27 11:01:30 -07:00
test_stream_exceptions.py So using sys.excepthook to catch errors only works once. 2011-07-01 15:18:10 -07:00
test_stream_filters.py Add tests for filters. 2011-12-13 20:05:31 -08:00
test_stream_handlers.py Fix stream handler test for multiple handlers to exist properly. 2011-11-21 22:03:43 -08:00
test_stream_presence.py Also fire changed_status when the status text changes for a resource. 2011-11-18 13:57:41 -08:00
test_stream_roster.py Merge branch 'develop' into roster 2011-08-12 16:47:58 -07:00
test_stream_xep_0030.py Add caching support to xep_0030. 2011-12-28 10:16:31 -05:00
test_stream_xep_0050.py Update XEP-0050 to use new IQ exceptions. 2011-08-13 00:10:06 -07:00
test_stream_xep_0059.py Added new XEP-0059 plugin. 2011-01-08 10:58:47 -05:00
test_stream_xep_0060.py Add support for notify attribute when retracting an item. 2011-09-01 13:36:11 -07:00
test_stream_xep_0066.py Test no longer applies to latest version of XEP-0066. 2011-07-05 11:18:46 -07:00
test_stream_xep_0085.py Add tests for XEP-0085, fix some bugs. 2011-02-24 14:15:02 -05:00
test_stream_xep_0092.py Update the XEP-0092 plugin to the new style. 2011-01-08 22:38:13 -05:00
test_stream_xep_0128.py So using sys.excepthook to catch errors only works once. 2011-07-01 15:18:10 -07:00
test_stream_xep_0249.py So using sys.excepthook to catch errors only works once. 2011-07-01 15:18:10 -07:00
test_tostring.py Update tostring methods. 2011-01-27 18:05:05 -05:00