]> git.openstreetmap.org Git - nominatim.git/commitdiff
bdd: restrict imports to four languages
authorSarah Hoffmann <lonvia@denofr.de>
Wed, 11 May 2022 14:40:53 +0000 (16:40 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Wed, 11 May 2022 14:40:53 +0000 (16:40 +0200)
This mainly restricts the number of country names that are loaded.

test/bdd/steps/nominatim_environment.py

index c1a7dc2677eca95ea39d37e9477fd75d30bb924b..6b83c2e4e8a25d6cb9bbf9b7eb002875a66eb2a4 100644 (file)
@@ -95,6 +95,7 @@ class NominatimEnvironment:
 
         self.test_env = dict(self.default_config)
         self.test_env['NOMINATIM_DATABASE_DSN'] = dsn
+        self.test_env['NOMINATIM_LANGUAGES'] = 'en,de,fr,ja'
         self.test_env['NOMINATIM_FLATNODE_FILE'] = ''
         self.test_env['NOMINATIM_IMPORT_STYLE'] = 'full'
         self.test_env['NOMINATIM_USE_US_TIGER_DATA'] = 'yes'