X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/c3788d765ed4e7ddf00794085af757714bc102cf..2ef1dcc3a518e502d949297947e7df9c8791acbd:/test/bdd/environment.py diff --git a/test/bdd/environment.py b/test/bdd/environment.py index 0acc73b4..ee07e602 100644 --- a/test/bdd/environment.py +++ b/test/bdd/environment.py @@ -59,5 +59,5 @@ def after_scenario(context, scenario): 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")