'Verify grade report data.'

def _verify_html_file_report(self, report_store, expected_data):

    report_html_filename = report_store.links_for(self.course.id)[0][0]
    report_path = report_store.path_to(self.course.id, report_html_filename)
    with report_store.storage.open(report_path) as html_file:
        html_file_data = html_file.read()
        for data in expected_data:
            self.assertIn(data, html_file_data)
