File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1254,6 +1254,7 @@ def _cache_less_call_storers(instance, custom={}):
12541254 storer (instance , custom )
12551255 return instance
12561256
1257+
12571258class TestRegions (GeoNodeBaseTestSupport ):
12581259 def setUp (self ):
12591260 self .dataset_inside_region = GEOSGeometry (
@@ -1305,10 +1306,10 @@ def test_regions_are_assigned_if_handler_is_used(self):
13051306
13061307
13071308class TestMetadataStorer (GeoNodeBaseTestSupport ):
1308-
1309+
13091310 @patch ("geonode.resource.utils.call_storers" , _cache_less_call_storers )
13101311 def test_create_passing_custom_to_post_save (self ):
1311-
1312+
13121313 with override_settings (METADATA_STORERS = ["geonode.resource.metadata_storer.store_metadata" ]):
13131314 User = get_user_model ()
13141315 user = User .objects .create (username = "test" , email = "test@test.com" )
You can’t perform that action at this time.
0 commit comments