def METHOD_NAME(self):
    output = self.get_article("[attachment:2]")
    expected = r'<span class="attachment attachment-deleted">\s*Attachment with ID #2 is deleted.\s*</span>'
    self.assertRegexpMatches(output, expected)