def METHOD_NAME(self):
    """
    Change the key by PUTing it
    """
    name, payload, data = self.create_tsig_key()
    newkey = 'l36TAJalAys0HeEfSM1rFzSmz9kSwfiBo3HNkL62COs='
    payload = {
        'key': newkey
    }
    r = self.session.put(self.url("/api/v1/servers/localhost/tsigkeys/" + data['id']),
                         data=json.dumps(payload))
    self.assertEqual(r.status_code, 200)
    data = r.json()
    self.assertEqual(data['key'], newkey)