sdk.tests.tcp.test_tcp_keep_alives.MockConnection

class MockConnection(sock)[source]

Bases: object

Mocks a connection with an SSL socket

Parameters:

sock – The socket to use with the connection

Methods