match_types for Mapbox metadata

This commit is contained in:
Juan Ignacio Sánchez Lara
2018-07-16 12:11:40 +02:00
parent 0a92ae1445
commit 080de34163
2 changed files with 17 additions and 3 deletions

View File

@@ -92,9 +92,9 @@ class TestStreetFunctionsSetUp(TestCase):
MAPBOX_METADATAS = {
'Plaza España, Barcelona':
{'relevance': 0.666, 'precision': 'precise'},
{'relevance': 0.666, 'precision': 'precise', 'match_types': ['point_of_interest']},
'Santiago Rusiñol 123, Valladolid':
{'relevance': 0.666, 'precision': 'precise'} # TODO: wrong
{'relevance': 0.666, 'precision': 'precise', 'match_types': ['point_of_interest']} # TODO: wrong
}
METADATAS = {