diff --git a/geonode/security/tests.py b/geonode/security/tests.py index 5ed759ca456..115eb6f8012 100644 --- a/geonode/security/tests.py +++ b/geonode/security/tests.py @@ -783,7 +783,7 @@ def test_dataset_upload_with_time(self): self.assertIsNotNone(name) ws = gs_catalog.get_workspace(workspace) self.assertIsNotNone(ws) - _gs_dataset_store = saved_dataset.store + _gs_dataset_store = saved_dataset.store or 'geonode_data' if not _gs_dataset_store: saved_dataset.alternate = f"{workspace}:boxes_with_date" _gs_dataset = gs_catalog.get_layer(saved_dataset.alternate.replace(".shp", ""))