summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorfritzy <fritzy@ip-10-251-242-239.ec2.internal>2010-08-22 06:08:48 +0000
committerfritzy <fritzy@ip-10-251-242-239.ec2.internal>2010-08-22 06:08:48 +0000
commitf4ecf0bac4089771a20ea6117f0a505c0b0b6e37 (patch)
tree6b139c85a31840762c68e4c6cc23bbb3169798a2 /tests
parent345656926ea5ee8e8cc359b97fd1d0cbc4b1fab4 (diff)
downloadslixmpp-f4ecf0bac4089771a20ea6117f0a505c0b0b6e37.tar.gz
slixmpp-f4ecf0bac4089771a20ea6117f0a505c0b0b6e37.tar.bz2
slixmpp-f4ecf0bac4089771a20ea6117f0a505c0b0b6e37.tar.xz
slixmpp-f4ecf0bac4089771a20ea6117f0a505c0b0b6e37.zip
fixed a but in stanza_pubsub
Diffstat (limited to 'tests')
-rw-r--r--tests/test_pubsubstanzas.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_pubsubstanzas.py b/tests/test_pubsubstanzas.py
index cddfd12b..38fc29e5 100644
--- a/tests/test_pubsubstanzas.py
+++ b/tests/test_pubsubstanzas.py
@@ -69,7 +69,7 @@ class TestPubsubStanzas(SleekTest):
def testItems(self):
"Testing iq/pubsub/items stanzas"
iq = self.Iq()
- iq['pubsub']['items']
+ iq['pubsub']['items']['node'] = 'crap'
payload = ET.fromstring("""
<thinger xmlns="http://andyet.net/protocol/thinger" x="1" y='2'>
<child1 />
@@ -91,7 +91,7 @@ class TestPubsubStanzas(SleekTest):
self.checkIq(iq, """
<iq id="0">
<pubsub xmlns="http://jabber.org/protocol/pubsub">
- <items>
+ <items node="crap">
<item id="asdf">
<thinger xmlns="http://andyet.net/protocol/thinger" y="2" x="1">
<child1 />