From f4ecf0bac4089771a20ea6117f0a505c0b0b6e37 Mon Sep 17 00:00:00 2001
From: fritzy <fritzy@ip-10-251-242-239.ec2.internal>
Date: Sun, 22 Aug 2010 06:08:48 +0000
Subject: fixed a but in stanza_pubsub

---
 tests/test_pubsubstanzas.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'tests')

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 />
-- 
cgit v1.2.3