@mock.patch(REQUESTS)
def test_coordinates_extracted_from_json_with_one_result(self, mocked_request, mocked_osm_response):
    mocked_request.return_value = mocked_osm_response
    assert (geocode(q='somewhere') == [{'lat': '12.923432', 'lon': '-75.234569'}])
@mock.patch(REQUESTS)
def test_coordinates_extracted_from_json_with_one_result(self, mocked_request, mocked_osm_response):
    mocked_request.return_value = mocked_osm_response
    assert (geocode(q='somewhere') == [{'lat': '12.923432', 'lon': '-75.234569'}])