

def test_processor_run_error_when_data_http_error(self):
    data_source = 'https://github.com/frictionlessdata/goodtables/blob/master/.travis.yaml'
    processor = processors.SchemaProcessor()
    (result, report, data) = processor.run(data_source)
    generated_report = result.generate()
    report_results = generated_report['results']
    self.assertFalse(result)
    self.assertEqual(len(report_results), 1)
    self.assertEqual(report_results[0]['result_id'], 'http_404_error')

dataset/ETHPy150Open frictionlessdata/goodtables/tests/test_schema.py TestSchemaProcessor.test_processor_run_error_when_data_http_error/VarMisuse@39/79 `report`->`result`