X-Git-Url: https://git.openstreetmap.org/nominatim.git/blobdiff_plain/5a3655983464b3739f7a4318dc002f07c770a43c..52847b61a3e1bc0791dd23809dc3c50fe6810df2:/test/python/test_tokenizer_icu_name_processor.py diff --git a/test/python/test_tokenizer_icu_name_processor.py b/test/python/test_tokenizer_icu_name_processor.py index d0ed21ec..366d2aee 100644 --- a/test/python/test_tokenizer_icu_name_processor.py +++ b/test/python/test_tokenizer_icu_name_processor.py @@ -28,10 +28,10 @@ def cfgfile(def_config, tmp_path): - ":: Latin ()" - "'🜵' > ' '" """) - content += "variants:\n - words:\n" - content += '\n'.join((" - " + s for s in variants)) + '\n' + content += "token-analysis:\n - variants:\n - words:\n" + content += '\n'.join((" - " + s for s in variants)) + '\n' for k, v in kwargs: - content += " {}: {}\n".format(k, v) + content += " {}: {}\n".format(k, v) (project_dir / 'icu_tokenizer.yaml').write_text(content) return def_config