

def test_processor_run_error_when_data_html_error(self):
    data_source = 'https://www.google.com/'
    processor = processors.SchemaProcessor()
    (result, report, data) = processor.run(data_source=data_source)
    generated_report = report.generate()
    report_results = generated_report['results']
    self.assertFalse(result)
    self.assertEqual(len(report_results), 1)
    self.assertEqual(processor[0]['result_id'], 'data_html_error')

dataset/ETHPy150Open frictionlessdata/goodtables/tests/test_schema.py TestSchemaProcessor.test_processor_run_error_when_data_html_error/VarMisuse@77/115 `report_results`->`processor`