def test_worksWithGoodFields(self):
        assoc = self.consumer._extractAssociation(
            self.assoc_response, self.assoc_session)
        self.assertTrue(self.assoc_session.extract_secret_called)
        self.assertEqual(self.assoc_session.secret, assoc.secret)
        self.assertEqual(1000, assoc.lifetime)
        self.assertEqual(self.assoc_handle, assoc.handle)
        self.assertEqual(self.assoc_type, assoc.assoc_type)
Handle a full successful association response
dataset/ETHPy150Open necaris/python3-openid/openid/test/test_association_response.py/TestInvalidFields.test_worksWithGoodFields