

def test_pipeline_invalid_schema_jts_raises(self):
    filepath = os.path.join(self.data_dir, 'case_insensitive_headers.csv')
    schema = 'https://raw.githubusercontent.com/frictionlessdata/jsontableschema-py/master/data/schema_invalid_empty.json'
    options = {
        'schema': {
            'schema': schema,
        },
    }
    self.assertRaises(InvalidSchemaError, Pipeline, filepath, processors=('schema',), options=options)

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