def openid_associate(self, request):
        # XXX: TESTME
        assoc_type = request.assoc_type
        session_type = request.session.session_type
        if self.negotiator.isAllowed(assoc_type, session_type):
            assoc = self.signatory.createAssociation(dumb=False,
                                                     assoc_type=assoc_type)
            return request.answer(assoc)
        else:
            message = ('Association type %r is not supported with '
                       'session type %r' % (assoc_type, session_type))
            (preferred_assoc_type, preferred_session_type) = \
                                   self.negotiator.getAllowedType()
            return request.answerUnsupported(
                message,
                preferred_assoc_type,
                preferred_session_type)
Test the _write_row_off() method
dataset/ETHPy150Open CollabQ/CollabQ/openid/server/server.py/Server.openid_associate--crossover with--dataset/ETHPy150Open jmcnamara/XlsxWriter/xlsxwriter/test/drawing/test_write_row_off.py/TestWriteXdrrowOff.test_write_row_off