def test_state_string(self):
    '\n        `Connection.state_string` verbosely describes the current state of\n        the `Connection`.\n        '
    (server, client) = socket_pair()
    server = loopback_server_factory(server)
    client = loopback_client_factory(client)
    assert (server.get_state_string() in [b'before/accept initialization', b'before SSL initialization'])
    assert (client.get_state_string() in [b'before/connect initialization', b'before SSL initialization'])
`Connection.state_string` verbosely describes the current state of
the `Connection`.
def test_state_string(self):
    '\n        `Connection.state_string` verbosely describes the current state of\n        the `Connection`.\n        '
    (server, client) = socket_pair()
    server = loopback_server_factory(server)
    client = loopback_client_factory(client)
    assert (server.get_state_string() in [b'before/accept initialization', b'before SSL initialization'])
    assert (client.get_state_string() in [b'before/connect initialization', b'before SSL initialization'])