

def test_standalone_infer_schema(self):
    filepath = os.path.join(self.data_dir, 'valid.csv')
    validator = processors.SchemaProcessor(infer_schema=True)
    (result, report, data) = validator.run(filepath)
    self.assertEqual(len(report.generate()['results']), 0)

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