summaryrefslogtreecommitdiff
path: root/tests/test_stanza_element.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2010-10-07 19:42:28 -0400
committerLance Stout <lancestout@gmail.com>2010-10-07 19:42:28 -0400
commite02ffe854745c6c39127967f5d1dcaff915d7190 (patch)
treee33e2c0557412fd59532788ce0d1a0a8370fc60b /tests/test_stanza_element.py
parent42bfca1c8785c6dd15260c22acda6375f3dbf908 (diff)
downloadslixmpp-e02ffe854745c6c39127967f5d1dcaff915d7190.tar.gz
slixmpp-e02ffe854745c6c39127967f5d1dcaff915d7190.tar.bz2
slixmpp-e02ffe854745c6c39127967f5d1dcaff915d7190.tar.xz
slixmpp-e02ffe854745c6c39127967f5d1dcaff915d7190.zip
Corrected test errors.
There was a bug in the XML compare method.
Diffstat (limited to 'tests/test_stanza_element.py')
-rw-r--r--tests/test_stanza_element.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_stanza_element.py b/tests/test_stanza_element.py
index c157e0a8..2a774d6c 100644
--- a/tests/test_stanza_element.py
+++ b/tests/test_stanza_element.py
@@ -607,7 +607,7 @@ class TestElementBase(SleekTest):
<foo xmlns="foo">
<foobar qux="a" />
</foo>
- """)
+ """, use_values=False)
self.failUnless(len(stanza) == 1,
"Incorrect stanza size with 1 substanza.")
@@ -617,7 +617,7 @@ class TestElementBase(SleekTest):
<foobar qux="a" />
<foobar qux="b" />
</foo>
- """)
+ """, use_values=False)
self.failUnless(len(stanza) == 2,
"Incorrect stanza size with 2 substanzas.")
@@ -627,7 +627,7 @@ class TestElementBase(SleekTest):
<foo xmlns="foo">
<foobar qux="b" />
</foo>
- """)
+ """, use_values=False)
# Test iterating over substanzas
stanza.append(substanza1)