

def test_standalone_process_extra_fields(self):
    filepath = os.path.join(self.data_dir, 'contacts', 'people.csv')
    schema = os.path.join(self.data_dir, 'contacts', 'schema_incomplete_fields.json')
    validator = processors.SchemaProcessor(schema=schema, case_insensitive_headers=True, process_extra_fields=True, result_level='info')
    (result, report, data) = validator.run(filepath)
    reports = report.generate()
    self.assertTrue(any((('schema_008' in res.values()) for res in reports['results'])))

dataset/ETHPy150Open frictionlessdata/goodtables/tests/test_schema.py TestSchemaProcessor.test_standalone_process_extra_fields/original