[tor-commits] [ooni-probe/master] Make 'context' be a class-level attribute and give it a Sphinx :attr: docstring.
art at torproject.org
art at torproject.org
Tue Apr 30 13:01:44 UTC 2013
commit 3f51cbb8e267b2cf8a1a8e5d0267da03c80b2f72
Author: Isis Lovecruft <isis at torproject.org>
Date: Mon Apr 22 00:25:11 2013 +0000
Make 'context' be a class-level attribute and give it a Sphinx :attr: docstring.
---
nettests/experimental/tls_handshake.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/nettests/experimental/tls_handshake.py b/nettests/experimental/tls_handshake.py
index 8aa7edf..92d9009 100644
--- a/nettests/experimental/tls_handshake.py
+++ b/nettests/experimental/tls_handshake.py
@@ -134,6 +134,9 @@ class HandshakeTest(nettest.NetTestCase):
inputFile = ['file', 'f', None, 'List of <IP>:<PORT>s to test']
+ #: Default SSL/TLS context method.
+ context = SSL.Context(SSL.TLSv1_METHOD)
+
def setUp(self, *args, **kwargs):
if self.localOptions:
options = self.localOptions
More information about the tor-commits
mailing list