[tor-commits] [ooni-probe/develop] Add self.host to the inputProcessor().
isis at torproject.org
isis at torproject.org
Thu Jun 6 16:41:38 UTC 2013
commit 273ab4d9d723553fd6ee2fcd90762928dacfce8a
Author: Isis Lovecruft <isis at torproject.org>
Date: Mon Apr 22 00:44:56 2013 +0000
Add self.host to the inputProcessor().
---
nettests/experimental/tls_handshake.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/nettests/experimental/tls_handshake.py b/nettests/experimental/tls_handshake.py
index eab721c..3585657 100644
--- a/nettests/experimental/tls_handshake.py
+++ b/nettests/experimental/tls_handshake.py
@@ -202,6 +202,8 @@ class HandshakeTest(nettest.NetTestCase):
return (str(addr), int(port))
def inputProcessor(self, file=None):
+ if self.host:
+ yield self.splitInput(self.host)
if os.path.isfile(file):
with open(file) as fh:
for line in fh.readlines():
More information about the tor-commits
mailing list