summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2010-10-21Fixed 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-17Underscore 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-07Added example live stream test.Lance Stout
Run using: python tests/live_test.py
2010-10-07Corrected test errors.Lance Stout
There was a bug in the XML compare method.
2010-10-07Unit 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-07Changed SleekTest to use underscored names.Lance Stout
2010-10-06Corrected stream header tester.Lance Stout
Added test for testing stream headers.
2010-10-06Updated SleekTest and related tests.Lance Stout
May now use a component for stream testing. Methods provided for testing stream headers.
2010-10-01Made first pass at cleaning BaseXMPP.Lance Stout
Have not intregrated the new JID class yet.
2010-10-01Modified 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-30Fixed ElementBase.match to match using sub_interface elements.Lance Stout
2010-08-30Updated ElementBase.match to respect namespaces with slashes.Lance Stout
Required adding option to _fix_ns to not propagate namespaces to child elements.
2010-08-27Updated 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-27Fixed SleekTest compare method to check XML text.Lance Stout
Corrected resulting test failures. All pass again.
2010-08-27Added unit tests for StanzaBase.Lance Stout
2010-08-26Added unit test for _fix_ns for handling namespaces with forward slashes.Lance Stout
2010-08-26Finished the update of ElementBase with docs and unit tests.Lance Stout
Corrected bugs in equality comparisons between stanzas.
2010-08-25Fixed ElementBase.match to respect namespaces.Lance Stout
2010-08-25Updated ElementBase.match and added unit tests.Lance Stout
2010-08-25Updated 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-24Updated 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-24Updated 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-22fixed a but in stanza_pubsubfritzy
2010-08-19Updated ElementBase methods _getAttr, _setAttr, and _delAttr with docs and ↵Lance Stout
tests.
2010-08-19Updated ElementBase.__delitem__ and added unit tests.Lance Stout
2010-08-19Updated ElementBase.__setitem__ and added unit tests.Lance Stout
2010-08-13Updated ElementBase.__getitem__ with docs and unit tests.Lance Stout
2010-08-13Updated getStanzaValues and setStanzaValues with docs and unit tests.Lance Stout
2010-08-13Updated ElementBase.setup, and added unit tests.Lance Stout
2010-08-13Added a generic checkStanza method to SleekTest. Updated the other check ↵Lance Stout
methods to use it.
2010-08-12Removed unused xmlcompare.py.Lance Stout
2010-08-12Updated SleekTest with docs and PEP8 style.Lance Stout
2010-08-11Updated roster stanza with docs and PEP8 style.Lance Stout
2010-08-11Updated 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-06Updated SleekTest to use the new tostring function instead of ET.tostringLance Stout
2010-08-05Add unit tests for the tostring function.Lance Stout
2010-08-05Updated tests to use a relative import for SleekTest to please Python3.Lance Stout
Fixed some tabs/spaces issues.
2010-08-03Update nick stanza with documentation and PEP8 style.Lance Stout
2010-08-03Fix whitespace issues, and make some debugging statements clearer.Lance Stout
2010-08-03Updated XHTML-IM stanza with documentation and PEP8 style.Lance Stout
2010-08-03Updated presence stanza with documentation and PEP8 style.Lance Stout
2010-08-03Updated message stanzas and tests with documentation and PEP8 style.Lance Stout
2010-07-29Updated, cleaned, and documented Iq stanza class. Also added unit tests.Lance Stout
2010-07-29Added unit tests for error stanzas. Corrected error in deleting conditions.Lance Stout
2010-07-29Remove extra debugging lines and speed up stream testing in SleekTest.Lance Stout
2010-07-26Update test to reflect change in reply() method that removes the from attribute.Lance Stout
2010-07-26updated and moved jid class -- jids now have settersNathan Fritz
2010-07-20Update test_events to use SleekTest to make everything consistent.Lance Stout
2010-07-20Updated pubsub stanzas to use xep_0004 stanza objects, and updated tests to ↵Lance Stout
match.
2010-07-20Lots of XEP-0004 bug fixes.Lance Stout
Forms have default type of 'form' setFields now uses a list of tuples instead of a dictionary because ordering is important. getFields defaults to returning a list of tuples, but the use_dict parameter can change that