aboutsummaryrefslogtreecommitdiffstats
path: root/pathod/test.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2016-06-03 13:57:12 +1200
committerAldo Cortesi <aldo@nullcube.com>2016-06-03 13:57:12 +1200
commit6943d7e3977a53df83267c1bbe58f60b9867a2a6 (patch)
treea1e74086702060e234482cebfd6eec9108228e17 /pathod/test.py
parent0d4a9303977a9556feb037ec277678f11c983a39 (diff)
downloadmitmproxy-6943d7e3977a53df83267c1bbe58f60b9867a2a6.tar.gz
mitmproxy-6943d7e3977a53df83267c1bbe58f60b9867a2a6.tar.bz2
mitmproxy-6943d7e3977a53df83267c1bbe58f60b9867a2a6.zip
More explicit name for the tcp.Server handler counter
Diffstat (limited to 'pathod/test.py')
-rw-r--r--pathod/test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pathod/test.py b/pathod/test.py
index b10e9229..11462729 100644
--- a/pathod/test.py
+++ b/pathod/test.py
@@ -50,9 +50,9 @@ class Daemon:
if time.time() - start >= timeout:
raise TimeoutError(
"%s service threads still alive" %
- self.thread.server.counter.count
+ self.thread.server.handler_counter.count
)
- if self.thread.server.counter.count == 0:
+ if self.thread.server.handler_counter.count == 0:
return
def expect_log(self, n, timeout=5):