ICU: matching any street name will do again

This commit is contained in:
Sarah Hoffmann
2021-12-06 14:26:08 +01:00
parent 44cfce1ca4
commit 5e435b41ba
4 changed files with 32 additions and 2 deletions

View File

@@ -49,3 +49,9 @@ def before_scenario(context, scenario):
def after_scenario(context, scenario):
if 'DB' in context.tags:
context.nominatim.teardown_db(context)
def before_tag(context, tag):
if tag == 'fail-legacy':
if context.config.userdata['TOKENIZER'] in (None, 'legacy'):
context.scenario.skip("Not implemented in legacy tokenizer")