def METHOD_NAME(self):
    self.q.metadata_info = HEADS_XML
    self.q.heads_version = "heads"
    return_code = self.q._parse_heads_updates("x230")
    self.assertEqual(return_code, self.qfwupd.EXIT_CODES["SUCCESS"])
    self.assertEqual(
        self.q.heads_update_url,
        "https://fwupd.org/downloads/e747a435bf24fd6081b77b6704b39cec5fa2dcf62e0ca6b86d8a6460121a1d07-heads_coreboot_x230-v0_2_3.cab",
    )
    self.assertEqual(
        self.q.heads_update_sha,
        "ba519a7a5d8136c8ade0cf0c775c58f3165f42798ff631c3f57f075897ef1586",
    )
    self.assertEqual(self.q.heads_update_version, "0.2.3")