

def test_pipeline_info_result_for_required_false(self):
    filepath = os.path.join(self.data_dir, 'required_false.csv')
    schema = os.path.join(self.data_dir, 'required_false_schema.json')
    options = {
        'schema': {
            'schema': schema,
            'result_level': 'info',
        },
    }
    validator = Pipeline(filepath, 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_info_result_for_required_false/original