X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/efafa5271957fb54b356ec1c90e8613f14de40d4..b5ac5462752bae0209f9fb255fe98b82e6016873:/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")