def METHOD_NAME(ndepth):
    dg = make_simple_datagroup(maxdepth=ndepth)
    dg_repr_html = sc.make_html(dg)
    from bs4 import BeautifulSoup
    html_parser = BeautifulSoup(dg_repr_html, "html.parser")
    assert (type(dg).__name__) in html_parser.find('div', class_='sc-obj-type').text
    assert bool(html_parser.find('div', class_='dg-root'))
    assert bool(html_parser.find('div', class_='dg-detail-box'))