def test_mask_crop_out_of_bounds(runner, tmpdir, basic_feature,
                                 pixelated_image_file):

    coords = numpy.array(basic_feature['geometry']['coordinates']) - 10
    basic_feature['geometry']['coordinates'] = coords.tolist()

    output = str(tmpdir.join('test.tif'))

    result = runner.invoke(
        main_group, [
            'mask', pixelated_image_file, output, '--crop',
            '--geojson-mask', '-'],
        input=json.dumps(basic_feature))
    assert result.exit_code == 2
    assert 'not allowed' in result.output
Validate that the name for the controller isn't present on the
dataset/ETHPy150Open mapbox/rasterio/tests/test_rio_features.py/test_mask_crop_out_of_bounds--crossover with--dataset/ETHPy150Open Pylons/pylons/pylons/commands.py/validate_name