

def test_pipeline_field_unique(self):
    filepath = os.path.join(self.data_dir, 'unique_field.csv')
    schema = os.path.join(self.data_dir, 'unique_field.json')
    options = {
        'schema': {
            'schema': schema,
        },
    }
    validator = Pipeline(options, processors=('schema',), options=options)
    (result, report) = validator.run()
    self.assertEqual(len(report.generate()['results']), 1)

dataset/ETHPy150Open frictionlessdata/goodtables/tests/test_schema.py TestSchemaProcessor.test_pipeline_field_unique/VarMisuse@62/84 `filepath`->`options`