aboutsummaryrefslogtreecommitdiffstats
path: root/libpathod/test.py
diff options
context:
space:
mode:
Diffstat (limited to 'libpathod/test.py')
-rw-r--r--libpathod/test.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/libpathod/test.py b/libpathod/test.py
index 11c62303..398e94be 100644
--- a/libpathod/test.py
+++ b/libpathod/test.py
@@ -66,6 +66,7 @@ class Daemon:
class _PaThread(threading.Thread):
def __init__(self, iface, q, ssl, daemonargs):
threading.Thread.__init__(self)
+ self.name = "PathodThread"
self.iface, self.q, self.ssl = iface, q, ssl
self.daemonargs = daemonargs
@@ -75,5 +76,6 @@ class _PaThread(threading.Thread):
ssl = self.ssl,
**self.daemonargs
)
+ self.name = "PathodThread (%s:%s)" % (self.server.address.host, self.server.address.port)
self.q.put(self.server.address.port)
self.server.serve_forever()