adapt tests to new country token format

This commit is contained in:
Sarah Hoffmann
2025-11-27 16:05:49 +01:00
parent 81c6cb72e6
commit 9447c90b09
5 changed files with 11 additions and 2 deletions

View File

@@ -99,7 +99,7 @@ def test_address_simple_places(apiobj, frontend, atype, address, search):
def test_address_country(apiobj, frontend):
apiobj.add_word_table([(None, 'ro', 'C', 'ro', None)])
apiobj.add_word_table([(None, 'ro', 'C', 'ro', {'cc': 'ro'})])
apiobj.add_country('ro', 'POLYGON((0 0, 0 1, 1 1, 1 0, 0 0))')
apiobj.add_country_name('ro', {'name': 'România'})