summaryrefslogtreecommitdiff
path: root/conn_tests/test_pubsubserver.py
diff options
context:
space:
mode:
authorNathan Fritz <nathan@andyet.net>2010-04-23 01:34:28 -0700
committerNathan Fritz <nathan@andyet.net>2010-04-23 01:34:28 -0700
commitc4fa3ab654969a02780cb29508290b1ddd5f1543 (patch)
treedf08049321de63ca40f5c8cc71a6639a90ae62f8 /conn_tests/test_pubsubserver.py
parente2f841146aba29abf4b99157bb5479c2356f89c5 (diff)
downloadslixmpp-c4fa3ab654969a02780cb29508290b1ddd5f1543.tar.gz
slixmpp-c4fa3ab654969a02780cb29508290b1ddd5f1543.tar.bz2
slixmpp-c4fa3ab654969a02780cb29508290b1ddd5f1543.tar.xz
slixmpp-c4fa3ab654969a02780cb29508290b1ddd5f1543.zip
pubsub test work
Diffstat (limited to 'conn_tests/test_pubsubserver.py')
-rw-r--r--conn_tests/test_pubsubserver.py11
1 files changed, 5 insertions, 6 deletions
diff --git a/conn_tests/test_pubsubserver.py b/conn_tests/test_pubsubserver.py
index 25d84d40..9fd3bd8f 100644
--- a/conn_tests/test_pubsubserver.py
+++ b/conn_tests/test_pubsubserver.py
@@ -110,14 +110,13 @@ class TestPubsubServer(unittest.TestCase):
def test011createcollectionnode(self):
"Create a collection node"
- self.failUnless(self.xmpp1['xep_0060'].create_node(self.pshost, "testnode3", self.statev['defaultconfig'], True))
+ self.failUnless(self.xmpp1['xep_0060'].create_node(self.pshost, "testnode3", self.statev['defaultconfig'], True), "Could not create collection node")
-
- def test999cleanup(self):
+ def test900cleanup(self):
"Cleaning up"
- self.failUnless(self.xmpp1['xep_0060'].deleteNode(self.pshost, 'testnode5'), "Could not delete test node.")
- self.failUnless(self.xmpp1['xep_0060'].deleteNode(self.pshost, 'testnode3'), "Could not delete collection test node.")
-
+ self.failUnless(self.xmpp1['xep_0060'].deleteNode(self.pshost, 'testnode2'), "Could not delete test node.")
+ self.failUnless(self.xmpp1['xep_0060'].deleteNode(self.pshost, 'testnode3'), "Could not delete collection node")
+
if __name__ == '__main__':
#parse command line arguements