context.nominatim.setup_api_db()
elif 'UNKNOWNDB' in context.tags:
context.nominatim.setup_unknown_db()
- context.scene = None
def after_scenario(context, scenario):
if 'DB' in context.tags:
def before_tag(context, tag):
if tag == 'fail-legacy':
- if context.config.userdata['TOKENIZER'] in (None, 'legacy'):
+ if context.config.userdata['TOKENIZER'] == 'legacy':
context.scenario.skip("Not implemented in legacy tokenizer")