def METHOD_NAME(expected: str, par: DocParagraph, reason: str):
    bs = par_list_to_html_list(
        [par],
        settings=d.document.get_settings(),
        view_ctx=default_view_ctx,
    )
    self.assertEqual(expected.strip(), bs[0], reason)