def test_set_shutdown(self):
    '\n        `Connection.set_shutdown` sets the state of the SSL connection\n        shutdown process.\n        '
    connection = Connection(Context(TLSv1_METHOD), socket_any_family())
    connection.set_shutdown(RECEIVED_SHUTDOWN)
    assert (connection.get_shutdown() == RECEIVED_SHUTDOWN)
`Connection.set_shutdown` sets the state of the SSL connection
shutdown process.
def test_set_shutdown(self):
    '\n        `Connection.set_shutdown` sets the state of the SSL connection\n        shutdown process.\n        '
    connection = Connection(Context(TLSv1_METHOD), socket_any_family())
    connection.set_shutdown(RECEIVED_SHUTDOWN)
    assert (connection.get_shutdown() == RECEIVED_SHUTDOWN)