diff options
author | Lance Stout <lancestout@gmail.com> | 2013-09-12 10:21:56 -0700 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2013-09-12 10:21:56 -0700 |
commit | 23750357e21ce1e22445b2e702bdd4efb77f2369 (patch) | |
tree | ba05ae132a04380603c9b4417ec7cd913549f56f /tests/test_tostring.py | |
parent | 07284f380fa0a893a5ef56774fcef71a47851668 (diff) | |
parent | b6e53c7b1be3691514cbf25e3de09d6742a4a587 (diff) | |
download | slixmpp-23750357e21ce1e22445b2e702bdd4efb77f2369.tar.gz slixmpp-23750357e21ce1e22445b2e702bdd4efb77f2369.tar.bz2 slixmpp-23750357e21ce1e22445b2e702bdd4efb77f2369.tar.xz slixmpp-23750357e21ce1e22445b2e702bdd4efb77f2369.zip |
Merge pull request #254 from barreverte/develop
tostring.escape : optimization
Diffstat (limited to 'tests/test_tostring.py')
-rw-r--r-- | tests/test_tostring.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_tostring.py b/tests/test_tostring.py index e6148533..be11ab03 100644 --- a/tests/test_tostring.py +++ b/tests/test_tostring.py @@ -34,8 +34,7 @@ class TestToString(SleekTest): desired = """<foo bar="baz">'Hi""" desired += """ & welcome!'</foo>""" - self.failUnless(escaped == desired, - "XML escaping did not work: %s." % escaped) + self.assertEqual(escaped, desired) def testEmptyElement(self): """Test converting an empty element to a string.""" |