def METHOD_NAME(self):
    input_html = (
        '<p>Look at our <a data-linktype="document" data-id="1" href="/documents/1/brochure.pdf">'
        "horribly oversized brochure</a></p>"
    )
    output_html = self.whitelister.clean(input_html)
    expected = '<p>Look at our <a linktype="document" id="1">horribly oversized brochure</a></p>'
    self.assertHtmlEqual(expected, output_html)