Age | Commit message (Collapse) | Author |
|
|
|
Matchers are now PEP8 compliant and have documentation.
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
contain forward slashes.
|
|
|
|
|
|
|
|
Corrected bugs in equality comparisons between stanzas.
|
|
Remaining ElementBase todos:
Write the class documentation for ElementBase.
Write unit tests for the __magic__ methods.
|
|
|
|
|
|
_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.
|
|
|
|
jid attributes will return '' if not set
|
|
|
|
|
|
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.
|