aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_tcp.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_tcp.py')
-rw-r--r--test/test_tcp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_tcp.py b/test/test_tcp.py
index bf681811..78278909 100644
--- a/test/test_tcp.py
+++ b/test/test_tcp.py
@@ -123,7 +123,7 @@ class TestServerSSL(test.ServerTestBase):
def test_echo(self):
c = tcp.TCPClient(("127.0.0.1", self.port))
c.connect()
- c.convert_to_ssl(sni="foo.com", options=tcp.OP_ALL)
+ c.convert_to_ssl(sni="foo.com", options=SSL.OP_ALL)
testval = "echo!\n"
c.wfile.write(testval)
c.wfile.flush()