def test_total_renegotiations(self):
    '\n        `Connection.total_renegotiations` returns `0` before any renegotiations\n        have happened.\n        '
    connection = Connection(Context(TLSv1_METHOD), None)
    assert (connection.total_renegotiations() == 0)
`Connection.total_renegotiations` returns `0` before any renegotiations
have happened.
def test_total_renegotiations(self):
    '\n        `Connection.total_renegotiations` returns `0` before any renegotiations\n        have happened.\n        '
    connection = Connection(Context(TLSv1_METHOD), None)
    assert (connection.total_renegotiations() == 0)