def test_geotile_grid_aggregation(): a = aggs.GeotileGrid(**{"field": "centroid", "precision": 3}) assert { "geotile_grid": { "field": "centroid", "precision": 3 } } == a.to_dict()
def test_geotile_grid_aggregation(): a = aggs.GeotileGrid(**{'field': 'centroid', 'precision': 3}) assert { 'geotile_grid': { 'field': 'centroid', 'precision': 3 } } == a.to_dict()