def METHOD_NAME(self):
    hm = hmac.new(self._get_buffer(), b'data', digestmod=hashlib.sha256)
    self.assertEqual('c449f6626bf7f997cda786d07895f086c2fa18eab25b1c08c4de66a5d46a2a08', hm.hexdigest())