commit 3f51cbb8e267b2cf8a1a8e5d0267da03c80b2f72 Author: Isis Lovecruft isis@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 file changed, 3 insertions(+)
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
tor-commits@lists.torproject.org