

def test_pipeline_report_limit_out_range(self):
    filepath = os.path.join(self.data_dir, 'valid.csv')
    limit = Pipeline.REPORT_LIMIT_MAX
    validator = Pipeline(filepath, processors=('schema',), report_limit=(limit + 1))
    self.assertEqual(validator.report_limit, limit)
    self.assertEqual(validator.pipeline[0].report_limit, limit)

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