summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-09-24 20:59:51 -0700
committerLance Stout <lancestout@gmail.com>2012-09-24 20:59:51 -0700
commit6c57bb055346384760129c25ad5402913982eaac (patch)
treef89eea2ee3836a64ee893bcd269d8f008e9158e6 /tests
parentc2ae1ee8910a60902ec4aa709ef7c26376eede47 (diff)
downloadslixmpp-6c57bb055346384760129c25ad5402913982eaac.tar.gz
slixmpp-6c57bb055346384760129c25ad5402913982eaac.tar.bz2
slixmpp-6c57bb055346384760129c25ad5402913982eaac.tar.xz
slixmpp-6c57bb055346384760129c25ad5402913982eaac.zip
Simplify stringifying XML
Diffstat (limited to 'tests')
-rw-r--r--tests/test_tostring.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/test_tostring.py b/tests/test_tostring.py
index cd50a7c1..8c04f00c 100644
--- a/tests/test_tostring.py
+++ b/tests/test_tostring.py
@@ -85,19 +85,6 @@ class TestToString(SleekTest):
original='<a>foo <b>bar</b> baz</a>',
message='Element tail content is incorrect.')
-
- def testStanzaNs(self):
- """
- Test using the stanza_ns tostring parameter, which will prevent
- adding an xmlns attribute to the serialized element if the
- element's namespace is the same.
- """
- self.tryTostring(
- original='<bar xmlns="foo" />',
- expected='<bar />',
- message="The stanza_ns parameter was not used properly.",
- stanza_ns='foo')
-
def testStanzaStr(self):
"""
Test that stanza objects are serialized properly.