summaryrefslogtreecommitdiff
path: root/tests/test_tostring.py
AgeCommit message (Collapse)Author
2018-10-15fixing deprecation warnings for pytestFlorian Klien
2014-07-17Rename to slixmppFlorent Le Coz
2013-09-12ElementTree._escape_cdata isn't reliable across Python versions.Lance Stout
It also does not work as desired. Revert "Merge pull request #254 from barreverte/develop" This reverts commit 23750357e21ce1e22445b2e702bdd4efb77f2369, reversing changes made to 07284f380fa0a893a5ef56774fcef71a47851668.
2013-07-30tostring.escape : optimizationJean-Philippe Caruana
use of xml.etree.ElementTree._escape_attrib and xml.etree.ElementTree._escape_cdata
2013-07-26refactor: no import * in testsJean-Philippe Caruana
2012-09-24Simplify stringifying XMLLance Stout
2012-07-24Add support for using CDATA for escaping.Lance Stout
CDATA escaping is disabled by default, but may be enabled by setting: self.use_cdata = True Closes issue #114
2011-01-27Update tostring methods.Lance Stout
Will now always show top-level namespace, unless it is the same as the stream's default namespace. Also added the XMPP stream namespace to the namespace map as 'stream'.
2010-12-08Fix xml:lang tostring test.Lance Stout
2010-12-07Add support for using xml:lang values.Lance Stout
Support is only for adding literal XML content to stanzas. Full support for things like multiple message bodies with different xml:lang values is still in the works.
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-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-08-05Add unit tests for the tostring function.Lance Stout