Skip to content
This repository was archived by the owner on Jan 13, 2021. It is now read-only.

Commit e6f9255

Browse files
committed
More test fixes.
- do_handshake_on_connect to False, because appengine test server disconnect immediately on connect.
1 parent b67dadd commit e6f9255

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/test_appengine.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def test_wrap_socket(self):
5454
context.load_verify_locations('test/certs/server.crt')
5555
sock = socket.create_connection(
5656
(self.server_thread.host, self.server_thread.port))
57-
ssl_sock = context.wrap_socket(sock)
57+
ssl_sock = context.wrap_socket(sock, do_handshake_on_connect=False)
5858
assert ssl_sock.selected_npn_protocol() == 'h2'
5959
ssl_sock.close()
6060
self.tear_down()

0 commit comments

Comments
 (0)