Fix, add 2.9 hook variant in test plugin
This commit is contained in:
parent
3fce3934bf
commit
44e3ce1a42
|
@ -12,6 +12,9 @@ class TestSpatialPlugin(p.SingletonPlugin):
|
|||
def update_config(self, config):
|
||||
p.toolkit.add_template_directory(config, "templates")
|
||||
|
||||
def before_index(self, pkg_dict):
|
||||
return self.before_dataset_index(pkg_dict)
|
||||
|
||||
def before_dataset_index(self, pkg_dict):
|
||||
|
||||
if not pkg_dict.get("my_geoms"):
|
||||
|
|
|
@ -605,7 +605,7 @@ class TestCustomIndexing(SpatialTestBase):
|
|||
"""
|
||||
These tests ensure both that
|
||||
1. You can use your own custom logic to index geometries
|
||||
2. The spatial fields are multivaule, ie you can index more than one geometry against
|
||||
2. The spatial fields are multivalued, ie you can index more than one geometry against
|
||||
the same dataset
|
||||
"""
|
||||
def test_single_geom(self):
|
||||
|
|
Loading…
Reference in New Issue