]> git.openstreetmap.org Git - nominatim.git/blobdiff - test/python/tools/test_country_info.py
bdd: do not expect legacy word table to be without empty tokens
[nominatim.git] / test / python / tools / test_country_info.py
index 3c20b3e020018ec5f259a5d91b7fcac8d284739d..3f00d54e1706d5003623164bb01e2e3065e4881c 100644 (file)
@@ -49,7 +49,7 @@ def test_setup_country_tables(src_dir, temp_db_with_extensions, dsn, temp_db_cur
     assert temp_db_cursor.table_rows('country_osm_grid') > 100
 
 
-@pytest.mark.parametrize("languages", (None, ' fr,en'))
+@pytest.mark.parametrize("languages", (None, ['fr', 'en']))
 def test_create_country_names(temp_db_with_extensions, temp_db_conn, temp_db_cursor,
                               table_factory, tokenizer_mock, languages, loaded_country):