def test_output_single_gtiff_errors(output_single_gtiff):
    with pytest.raises(ValueError):
        mapchete.open(dict(output_single_gtiff.dict, zoom_levels=[5, 6]))
    with mapchete.open(output_single_gtiff.path) as mp:
        tile = mp.config.process_pyramid.tile(5, 3, 7)
        with pytest.raises(ValueError):
            mp.config.output.tiles_exist(process_tile=tile, output_tile=tile)
def test_output_single_gtiff_errors(output_single_gtiff):
    with pytest.raises(ValueError):
        mapchete.open(dict(output_single_gtiff.dict, zoom_levels=[5, 6]))
    with mapchete.open(output_single_gtiff.path) as mp:
        tile = mp.config.process_pyramid.tile(5, 3, 7)
        with pytest.raises(ValueError):
            mp.config.output.tiles_exist(process_tile=tile, output_tile=tile)