@@ -201,7 +201,7 @@ def test_datasets_locations_dataset(self):
201201 locations , bbox = thumbnails ._datasets_locations (dataset )
202202
203203 self .assertFalse (bbox , "Expected BBOX not to be calculated" )
204- self .assertEqual (locations , [[settings .OGC_SERVER ["default" ]["LOCATION" ], [dataset .alternate ], []]])
204+ self .assertEqual (locations , [[settings .OGC_SERVER ["default" ]["LOCATION" ], [dataset .alternate ], [], {} ]])
205205
206206 def test_datasets_locations_dataset_default_bbox (self ):
207207 expected_bbox = [- 8238681.374829309 , - 8220320.783295829 , 4969844.0930337105 , 4984363.884452854 , "EPSG:3857" ]
@@ -211,7 +211,7 @@ def test_datasets_locations_dataset_default_bbox(self):
211211
212212 self .assertEqual (bbox [- 1 ].upper (), "EPSG:3857" , "Expected calculated BBOX CRS to be EPSG:3857" )
213213 self .assertEqual (bbox , expected_bbox , "Expected calculated BBOX to match pre-converted one." )
214- self .assertEqual (locations , [[settings .OGC_SERVER ["default" ]["LOCATION" ], [dataset .alternate ], []]])
214+ self .assertEqual (locations , [[settings .OGC_SERVER ["default" ]["LOCATION" ], [dataset .alternate ], [], {} ]])
215215
216216 def test_datasets_locations_dataset_bbox (self ):
217217 dataset = Dataset .objects .get (title = "theaters_nyc" )
@@ -222,7 +222,7 @@ def test_datasets_locations_dataset_bbox(self):
222222 self .assertEqual (
223223 bbox [- 1 ].lower (), dataset .bbox [- 1 ].lower (), "Expected calculated BBOX's CRS to match dataset's"
224224 )
225- self .assertEqual (locations , [[settings .OGC_SERVER ["default" ]["LOCATION" ], [dataset .alternate ], []]])
225+ self .assertEqual (locations , [[settings .OGC_SERVER ["default" ]["LOCATION" ], [dataset .alternate ], [], {} ]])
226226
227227 def test_datasets_locations_simple_map (self ):
228228 dataset = Dataset .objects .get (title = "theaters_nyc" )
@@ -243,6 +243,7 @@ def test_datasets_locations_simple_map(self):
243243 settings .OGC_SERVER ["default" ]["LOCATION" ],
244244 [dataset .alternate , "geonode:Meteorite_Landings_from_NASA_Open_Data_Portal1" ],
245245 ["theaters_nyc" , "test_style" ],
246+ {},
246247 ]
247248 ],
248249 )
@@ -258,7 +259,7 @@ def test_datasets_locations_simple_map_default_bbox(self):
258259 self .assertEqual (bbox [- 1 ].upper (), "EPSG:3857" , "Expected calculated BBOX CRS to be EPSG:3857" )
259260 self .assertEqual (bbox , expected_bbox , "Expected calculated BBOX to match pre-converted one." )
260261 self .assertEqual (
261- locations , [[settings .OGC_SERVER ["default" ]["LOCATION" ], [dataset .alternate ], ["theaters_nyc" ]]]
262+ locations , [[settings .OGC_SERVER ["default" ]["LOCATION" ], [dataset .alternate ], ["theaters_nyc" ], {} ]]
262263 )
263264
264265 def test_datasets_locations_composition_map_default_bbox (self ):
@@ -271,6 +272,7 @@ def test_datasets_locations_composition_map_default_bbox(self):
271272 "rt_geologia.dbg_risorse_minerarie" ,
272273 ],
273274 [],
275+ {},
274276 ]
275277 ]
276278
0 commit comments