]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/bdd/steps/nominatim_environment.py
make sure old data gets deleted on place type change
[nominatim.git] / test / bdd / steps / nominatim_environment.py
index 0e986f217dc20d394085b6cf80ee984d2943b542..1deb43f38a2f4fae6fb8820226903701b0ea55bd 100644 (file)
@@ -198,8 +198,7 @@ class NominatimEnvironment:
 
                 try:
                     self.run_nominatim('import', '--osm-file', str(self.api_test_file))
 
                 try:
                     self.run_nominatim('import', '--osm-file', str(self.api_test_file))
-                    if self.tokenizer != 'legacy_icu':
-                        self.run_nominatim('add-data', '--tiger-data', str((testdata / 'tiger').resolve()))
+                    self.run_nominatim('add-data', '--tiger-data', str((testdata / 'tiger').resolve()))
                     self.run_nominatim('freeze')
 
                     if self.tokenizer != 'legacy_icu':
                     self.run_nominatim('freeze')
 
                     if self.tokenizer != 'legacy_icu':