mirror of https://github.com/pelias/docker.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
73 lines
1.8 KiB
73 lines
1.8 KiB
{ |
|
"name": "encoding, or fun with diacritics", |
|
"priorityThresh": 1, |
|
"tests": [ |
|
{ |
|
"id": 1, |
|
"status": "pass", |
|
"endpoint": "search", |
|
"description": "make sure that results return the appropriate accents on results", |
|
"in": { |
|
"text": "mexico city" |
|
}, |
|
"expected": { |
|
"properties": [ |
|
{ |
|
"county": "Benito Juárez", |
|
"region": "Ciudad de México", |
|
"name": "Mexico City", |
|
"country": "Mexico" |
|
} |
|
] |
|
} |
|
}, |
|
{ |
|
"id": 2, |
|
"status": "pass", |
|
"endpoint": "search", |
|
"description": "make sure that results return the appropriate accents on results", |
|
"notes": "https://github.com/pelias/api/issues/731", |
|
"in": { |
|
"lang": "et", |
|
"text": "pärnu, estonia" |
|
}, |
|
"expected": { |
|
"priorityThresh": 2, |
|
"properties": [ |
|
{ |
|
"name": "Pärnu maakond", |
|
"region": "Pärnu maakond", |
|
"country": "Eesti" |
|
} |
|
] |
|
} |
|
}, |
|
{ |
|
"id": 3, |
|
"status": "pass", |
|
"endpoint": "search", |
|
"issue": [ |
|
"https://github.com/pelias/api/issues/600", |
|
"https://github.com/pelias/pelias/issues/426" |
|
], |
|
"description": [ |
|
"the Chambéry accent issue, with the accented e represented as 1 character", |
|
"waiting for libpostal to address diacriticals" |
|
], |
|
"in":{ |
|
"text": "Chambéry" |
|
}, |
|
"expected": { |
|
"properties": [ |
|
{ |
|
"name": "Chambéry", |
|
"macroregion": "Auvergne-Rhone-Alpes", |
|
"locality": "Chambéry", |
|
"label": "Chambéry, France", |
|
"country": "France" |
|
} |
|
] |
|
} |
|
} |
|
] |
|
}
|
|
|