'Assert `doc` contains `contents` within the `slug` readout.'

@staticmethod
def _assert_readout_contains(doc, slug, contents):

    html = doc(('a#' + slug)).closest('details').html()
    assert (contents in html), ((("'" + contents) + "'    is    not    in    the    following:    ") + html)
