X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/7b7203c14973fb3395bd4d745e580c2bc9be0d6c..3381a92d92fba7adcc72b0e6397a9726664fe430:/test/python/config/test_config_load_module.py?ds=sidebyside diff --git a/test/python/config/test_config_load_module.py b/test/python/config/test_config_load_module.py index cee88c82..df6c4794 100644 --- a/test/python/config/test_config_load_module.py +++ b/test/python/config/test_config_load_module.py @@ -31,6 +31,11 @@ def test_load_default_module(test_config): assert isinstance(module.NOMINATIM_VERSION, tuple) +def test_load_default_module_with_hyphen(test_config): + module = test_config.load_plugin_module('place-info', 'nominatim.data') + + assert isinstance(module.PlaceInfo, object) + def test_load_plugin_module(test_config, tmp_path): (tmp_path / 'project' / 'testpath').mkdir()