human
I wrote the below code

    def test(self):
        msg = mkAssocResponse(*keys)
        self.failUnlessRaises(KeyError, self.consumer._extractAssociation, msg, None)
    return test

What's a good function header?
assistant
#Here's a good function header.

def mkExtractAssocMissingTest(keys):