def testBadResponse(self):
        self.consumer.return_messages = [Message(self.endpoint.preferredNamespace())]
        self.assertEqual(self.consumer._negotiateAssociation(self.endpoint), None)
        self.failUnlessLogMatches('Server error when requesting an association')
Test the case where the response to an associate request is a
dataset/ETHPy150Open CollabQ/CollabQ/openid/test/test_negotiation.py/TestOpenID2SessionNegotiation.testBadResponse