':py:obj:`Connection.get_cipher_version` returns :py:obj:`None` if no
connection has been established.'

def test_get_cipher_version_before_connect(self):

    ctx = Context(TLSv1_METHOD)
    conn = Connection(ctx, None)
    self.assertIdentical(conn.get_cipher_version(), None)
