summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2011-08-31Test publishing a single item.Lance Stout
2011-08-31More pubsub unit tests!Lance Stout
2011-08-31Fix requesting pubsub node configuration, and add tests.Lance Stout
- <default /> doesn't have a type attribute in the XEP - <configure /> isn't used anymore for requesting default configuration
2011-08-30Add tests for pubsub unsubscribe.Lance Stout
2011-08-30Merge branch 'develop' of github.com:fritzy/SleekXMPP into developLance Stout
2011-08-30fixed test further... but now I have an out of order problemNathan Fritz
2011-08-30Test pubsub subscribe.Lance Stout
2011-08-30Test and fix XEP-0060 delete_node()Lance Stout
2011-08-26Fix typos in XEP-0060, start of docs and tests.Lance Stout
2011-08-25Fix tests in Python3.Lance Stout
2011-08-24Clean and get setup.py working once and for all.Lance Stout
Fixes: README.rst now included Double line spacing removed from long_description Source package now includes tests, examples, etc using Manifest.in README.rst typos fixed Added README.rst section on installing dnspython for Python3 Version bumped to RC2 Version is now taken from sleekxmpp.version.__version__ without having to pull in the entire library Added 'test' command for setup.py Simplified testall.py Docs build cleanly from source package after installation
2011-08-13Add tests for setting a form's type to 'submit' or 'cancel'.Lance Stout
Form fields now remember their current type if the type is deleted. This allows for fields to properly format their values if set after the form has been changed to the 'submit' type.
2011-08-13Update XEP-0050 to use new IQ exceptions.Lance Stout
IqError is now caught and forwarded to the command error handler referenced in the session. Errors are now caught and processed by the session's error handler whether or not the results Iq stanza includes the <command> substanza. Added the option for blocking command calls. The blocking option is set during start_command with block=True. Subsequent command flow methods use session['block'] to determine their blocking behaviour. If you use blocking commands, then you will need to wrap your command calls in a try/except block for IqTimeout exceptions.
2011-08-12Merge branch 'develop' into rosterLance Stout
Conflicts: setup.py sleekxmpp/clientxmpp.py
2011-08-12Merge branch 'develop' of github.com:fritzy/SleekXMPP into developNathan Fritz
2011-08-12Merge branch 'exceptions' into developNathan Fritz
2011-08-11Reorganize XEP-0004.Lance Stout
Changes: May now use underscored method names form.field is replaced by form['fields'] form.get_fields no longer accepts use_dict parameter, it always returns an OrderedDict now form.set_fields will accept either an OrderedDict, or a list of (var, dict) tuples as before. Setting the form type to 'submit' will remove extra meta data from the form fields, leaving just the 'var' and 'value' Setting the form type to 'cancel' will remove all fields.
2011-08-04Merge branch 'develop' into rosterLance Stout
Conflicts: setup.py
2011-08-03the great xep_0060 re-organization in preperation for rewriteNathan Fritz
2011-08-03Merge branch 'develop' into stream_featuresLance Stout
2011-07-27Merge branch 'develop' into exceptionsLance Stout
2011-07-27Merge branch 'develop' into rosterLance Stout
2011-07-05Merge branch 'develop' of github.com:fritzy/SleekXMPP into developLance Stout
2011-07-05Add test to check that presence events are firing.Lance Stout
2011-07-05Test no longer applies to latest version of XEP-0066.Lance Stout
2011-07-03Merge branch 'develop' into exceptionsLance Stout
2011-07-03Merge branch 'develop' into rosterLance Stout
2011-07-03Merge branch 'develop' into stream_featuresLance Stout
2011-07-03Added XEP-0066: Out-of-Band DataLance Stout
2011-07-01Merge branch 'develop' into stream_featuresLance Stout
2011-07-01Merge branch 'develop' into rosterLance Stout
2011-07-01So using sys.excepthook to catch errors only works once.Lance Stout
The error bubbles through the event processing loop, breaking it and hanging the application. Instead, there is now a .exception(e) method on XMLStream which may be overridden or reassigned that will receive all unhandled exceptions (read: not XMPPError) from event and stream handlers.
2011-06-20Merge branch 'develop' into stream_featuresLance Stout
2011-06-20Merge branch 'develop' into exceptionsLance Stout
2011-06-20Merge branch 'develop' into rosterLance Stout
2011-06-20Fix stanza clobbering when replying to errors.sleek-1.0.0-beta5sleek-1.0-Beta51.0.0-beta51.0-Beta5Lance Stout
If a stanza handler raised an exception, the exception was processed and replied by the modified stanza, not a stanza with the original content. A copy is now made before handler processing, and if an exception occurs it is the copy that processes the exception using the original content.
2011-06-16Integrate roster with BaseXMPP.Lance Stout
Last sent stanzas are saved regardless of if the roster is used directly or self.send_presence
2011-06-01Begin experimental use of exceptions.Lance Stout
Provides IqTimeout and IqError which are raised when an Iq response does not arrive in time, or it arrives with type='error'.
2011-05-31Merge branch 'develop' into stream_featuresLance Stout
Conflicts: sleekxmpp/clientxmpp.py
2011-05-31Merge branch 'develop' into rosterLance Stout
2011-05-27Added support for testind disconnect errors.Lance Stout
2011-05-25Merge branch 'develop' into stream_featuresLance Stout
2011-05-25Merge branch 'develop' into rosterLance Stout
2011-05-25Fix test for get_roster().Lance Stout
Python2.6 has issues passing a Unicode string as a keyword name.
2011-05-20Merge branch 'develop' into stream_featuresLance Stout
2011-05-20Merge branch 'develop' into rosterLance Stout
2011-05-20Fix test timeout issue.Lance Stout
A better method than using time.sleep is needed. Maybe use queue.task_done to detect when event processing has ended? Research time!
2011-05-20Fix test for Python3.Lance Stout
Issue of dict_keys vs list data types.
2011-05-20Make roster test a little more robust.Lance Stout
2011-05-20Merge branch 'develop' into rosterLance Stout
Conflicts: tests/test_stream_roster.py