Adding features to find public toilets and shopping streets #41
| @@ -75,8 +75,6 @@ def test_no_toilets(client, location, status_code):    # pylint: disable=redefin | ||||
|     "location,status_code", | ||||
|     [ | ||||
|         ([45.7576485, 4.8330241], 200), # Lyon, Bellecour. | ||||
|         ([40.768502, -73.958408], 200), # New York, Upper East Side. | ||||
|         ([53.482864, -2.2411116], 200), # Manchester, centre. | ||||
|         ([-6.913795,  107.60278], 200), # Bandung, train station | ||||
|         ([-22.970140, -43.18181], 200), # Rio de Janeiro, Copacabana | ||||
|     ] | ||||
| @@ -92,7 +90,8 @@ def test_toilets(client, location, status_code):    # pylint: disable=redefined- | ||||
|     response = client.post( | ||||
|         "/toilets/new", | ||||
|         params={ | ||||
|             "location": location | ||||
|             "location": location, | ||||
|             "radius" : 600 | ||||
|         } | ||||
|     ) | ||||
|     toilets_list = [Toilets.model_validate(toilet) for toilet in response.json()] | ||||
|   | ||||
		Reference in New Issue
	
	Block a user