Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-11-17 | First pass at integrating the new roster manager. | Lance Stout | |
2010-11-05 | Simplified SleekTest. | Lance Stout | |
* check_stanza does not require stanza_class parameter. Introspection! * check_message, check_iq, and check_presence removed -- use check instead. * stream_send_stanza, stream_send_message, stream_send_iq, and stream_send_presence removed -- use send instead. * Use recv instead of recv_message, recv_presence, etc. * check_jid instead of check_JID * stream_start may accept multi=True to return a new SleekTest instance for testing multiple streams at once. | |||
2010-10-25 | Made exceptions work.sleek-1.0-Beta21.0-Beta2 | Lance Stout | |
Raising an XMPPError exception from an event handler now works, even if from a threaded handler. Added stream tests to verify. We should start using XMPPError, it really makes things simple! | |||
2010-10-25 | Added more presence stream tests. | Lance Stout | |
Tests auto_authorize=False, and got_online. | |||
2010-10-25 | Fixed bug in presence subscription handling. | Lance Stout | |
Subscription requests and responses were not setting the correct 'to' attribute. | |||
2010-10-24 | Added stream tests for presence events. | Lance Stout | |
First batch of tests, currently focuses on the got_offline event. | |||
2010-10-24 | Added test for error stanzas. | Lance Stout | |
2010-10-24 | More JID unit tests. | Lance Stout | |
sleekxmpp.xmlstream.jid now has 100% coverage! | |||
2010-10-24 | Fixed resource bug in JIDs. | Lance Stout | |
JIDs without resources will return '' instead of the bare JID. Cleaned up JID tests, and added check_JID to SleekTest. | |||
2010-10-24 | Added stream tests for rosters. | Lance Stout | |
2010-10-21 | Fixed mixed text and elements bug in tostring. | Lance Stout | |
XML of the form <a>foo <b>bar</b> baz</a> was outputted as <a>foo <b>bar</b> baz baz</a>. Includes unit test. | |||
2010-10-17 | Underscore names by default. | Lance Stout | |
Stanza objects now accept the use of underscored names. The CamelCase versions are still available for backwards compatibility, but are discouraged. The property stanza.values now maps to the old getStanzaValues and setStanzaValues, in addition to _set_stanza_values and _get_stanza_values. | |||
2010-10-07 | Added example live stream test. | Lance Stout | |
Run using: python tests/live_test.py | |||
2010-10-07 | Corrected test errors. | Lance Stout | |
There was a bug in the XML compare method. | |||
2010-10-07 | Unit test reorganization. | Lance Stout | |
Moved SleekTest to sleekxmpp.test. Organized test suites by their focus. - Suites focused on testing stanza objects are named test_stanza_X.py - Suites focused on testing stream behavior are name test_stream_X.py | |||
2010-10-07 | Changed SleekTest to use underscored names. | Lance Stout | |
2010-10-06 | Corrected stream header tester. | Lance Stout | |
Added test for testing stream headers. | |||
2010-10-06 | Updated SleekTest and related tests. | Lance Stout | |
May now use a component for stream testing. Methods provided for testing stream headers. | |||
2010-10-01 | Made first pass at cleaning BaseXMPP. | Lance Stout | |
Have not intregrated the new JID class yet. | |||
2010-10-01 | Modified event handling to use the event queue. | Lance Stout | |
Updated tests to match. (Needed to add a small wait to make sure the event got through the queue before checking the results.) | |||
2010-08-30 | Fixed ElementBase.match to match using sub_interface elements. | Lance Stout | |
2010-08-30 | Updated ElementBase.match to respect namespaces with slashes. | Lance Stout | |
Required adding option to _fix_ns to not propagate namespaces to child elements. | |||
2010-08-27 | Updated the suite of handler classes with documentation. | Lance Stout | |
Updated XMLStream to return True or False from removeHandler to indicate if the handler existed and was removed. Waiter handlers now unregister themselves after timing out. | |||
2010-08-27 | Fixed SleekTest compare method to check XML text. | Lance Stout | |
Corrected resulting test failures. All pass again. | |||
2010-08-27 | Added unit tests for StanzaBase. | Lance Stout | |
2010-08-26 | Added unit test for _fix_ns for handling namespaces with forward slashes. | Lance Stout | |
2010-08-26 | Finished the update of ElementBase with docs and unit tests. | Lance Stout | |
Corrected bugs in equality comparisons between stanzas. | |||
2010-08-25 | Fixed ElementBase.match to respect namespaces. | Lance Stout | |
2010-08-25 | Updated ElementBase.match and added unit tests. | Lance Stout | |
2010-08-25 | Updated ElementBase._delSub and added unit tests. | Lance Stout | |
_delSub can now accept a path and will optionally remove any empty parent elements after deleting the target elements. | |||
2010-08-24 | Updated ElementBase._setSubText and added unit tests. | Lance Stout | |
_setSubText can now handle elements specified by an XPath expression, and will build up the element tree as needed, reusing an existing elements in the path. | |||
2010-08-24 | Updated ElementBase._getSubText and added unit tests. | Lance Stout | |
Also added ElementBase._fix_ns() to apply the stanza namespace to elements that don't have a namespace. | |||
2010-08-22 | fixed a but in stanza_pubsub | fritzy | |
2010-08-19 | Updated ElementBase methods _getAttr, _setAttr, and _delAttr with docs and ↵ | Lance Stout | |
tests. | |||
2010-08-19 | Updated ElementBase.__delitem__ and added unit tests. | Lance Stout | |
2010-08-19 | Updated ElementBase.__setitem__ and added unit tests. | Lance Stout | |
2010-08-13 | Updated ElementBase.__getitem__ with docs and unit tests. | Lance Stout | |
2010-08-13 | Updated getStanzaValues and setStanzaValues with docs and unit tests. | Lance Stout | |
2010-08-13 | Updated ElementBase.setup, and added unit tests. | Lance Stout | |
2010-08-13 | Added a generic checkStanza method to SleekTest. Updated the other check ↵ | Lance Stout | |
methods to use it. | |||
2010-08-12 | Removed unused xmlcompare.py. | Lance Stout | |
2010-08-12 | Updated SleekTest with docs and PEP8 style. | Lance Stout | |
2010-08-11 | Updated roster stanza with docs and PEP8 style. | Lance Stout | |
2010-08-11 | Updated SleekTest.streamClose to check that the stream was actually started ↵ | Lance Stout | |
before closing it. Updated tests for Iq stanzas to not start a stream for every test; tests now run a lot faster. The call to streamClose must still be in the tearDown method to ensure it is called in the case of an error. | |||
2010-08-06 | Updated SleekTest to use the new tostring function instead of ET.tostring | Lance Stout | |
2010-08-05 | Add unit tests for the tostring function. | Lance Stout | |
2010-08-05 | Updated tests to use a relative import for SleekTest to please Python3. | Lance Stout | |
Fixed some tabs/spaces issues. | |||
2010-08-03 | Update nick stanza with documentation and PEP8 style. | Lance Stout | |
2010-08-03 | Fix whitespace issues, and make some debugging statements clearer. | Lance Stout | |
2010-08-03 | Updated XHTML-IM stanza with documentation and PEP8 style. | Lance Stout | |