@singledispatch
def assert_student_view_valid_html(block, html):
 pass

@ singledispatch def assert_student_view_valid_html ( block , html ) : pass
asserts that the html generated by the student_view view is correct for the supplied block .