summaryrefslogtreecommitdiff
path: root/conn_tests/testpubsub.py
diff options
context:
space:
mode:
Diffstat (limited to 'conn_tests/testpubsub.py')
-rwxr-xr-xconn_tests/testpubsub.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/conn_tests/testpubsub.py b/conn_tests/testpubsub.py
index 24855c90..3aa7200e 100755
--- a/conn_tests/testpubsub.py
+++ b/conn_tests/testpubsub.py
@@ -33,7 +33,7 @@ class testps(sleekxmpp.ClientXMPP):
self.node = "pstestnode_%s"
self.pshost = pshost
if pshost is None:
- self.pshost = self.server
+ self.pshost = self.boundjid.host
self.nodenum = int(nodenum)
self.leafnode = self.nodenum + 1
self.collectnode = self.nodenum + 2