]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/python/tokenizer/token_analysis/test_generic_mutation.py
use place_to_be_deleted when force deleting objects
[nominatim.git] / test / python / tokenizer / token_analysis / test_generic_mutation.py
index ee842355cc95724df2da3156e7e9b54e0eee638b..ff4c3a74c455a60533167ae339277ad1a5ecee2f 100644 (file)
@@ -40,7 +40,7 @@ class TestMutationNoVariants:
 
     def variants(self, name):
         norm = Transliterator.createFromRules("test_norm", DEFAULT_NORMALIZATION)
-        return set(self.analysis.get_variants_ascii(norm.transliterate(name).strip()))
+        return set(self.analysis.compute_variants(norm.transliterate(name).strip()))
 
 
     @pytest.mark.parametrize('pattern', ('(capture)', ['a list']))