

def test_pipeline_ignore_field_order_true(self):
    data_filepath = os.path.join(self.data_dir, 'contacts', 'people.csv')
    schema_filepath = os.path.join(self.data_dir, 'contacts', 'schema_valid_not_field_order.json')
    with io.open(data_filepath) as data_stream, io.open(schema_filepath) as schema_stream:
        schema = json.load(schema_stream)
        options = {
            'schema': {
                'schema': schema,
            },
        }
        validator = Pipeline(data_stream, processors=('schema',), options=options)
        (result, report) = validator.run()
        self.assertTrue(result)

dataset/ETHPy150Open frictionlessdata/goodtables/tests/test_schema.py TestSchemaProcessor.test_pipeline_ignore_field_order_true/VarMisuse@96/143 `data_filepath`->`data_stream`