Age | Commit message (Collapse) | Author |
|
|
|
Required adding option to _fix_ns to not propagate namespaces to child elements.
|
|
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.
|
|
Corrected resulting test failures. All pass again.
|
|
|
|
|
|
Corrected bugs in equality comparisons between stanzas.
|
|
|
|
|
|
_delSub can now accept a path and will optionally remove any empty parent elements after deleting the target elements.
|
|
_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.
|
|
Also added ElementBase._fix_ns() to apply the stanza namespace to elements that don't have a namespace.
|
|
|
|
tests.
|
|
|
|
|
|
|
|
|
|
|
|
methods to use it.
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
Fixed some tabs/spaces issues.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
match.
|
|
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
|
|
references to nonexistant license.txt to LICENSE.
|
|
|
|
updated accordingly.
|
|
Also, removed unnecessary TestStream class and shortened timeout during stream connection.
|
|
|
|
|
|
registerStanzaPlugin function.
Updated plugins and tests to use new function.
|
|
stream.
|
|
elements still need to be unit tested
|
|
information.
|