mirror of
https://codeberg.org/matkoniecz/list_how_openstreetmap_can_be_improved_with_alltheplaces_data.git
synced 2025-05-13 05:03:09 +02:00
record test that is failing for now
This commit is contained in:
parent
f78dadace7
commit
7706d3ec0f
1 changed files with 25 additions and 0 deletions
|
@ -424,6 +424,31 @@ website = http://www.dunkindonuts.sa"""
|
|||
osm_tags = {'brand': 'Sunbelt Rentals', 'brand:wikidata': 'Q102396721', 'building': 'yes', 'name': 'Sunbelt Rentals', 'shop': 'plant_hire'}
|
||||
self.assertEqual(self.this_tag_lists_match(atp_tags, osm_tags), False)
|
||||
|
||||
@unittest.expectedFailure # TODO: investigate is it fixable
|
||||
def test_matching_on_prefix_of_another_word_is_not_always_safe(self):
|
||||
atp_tags = {
|
||||
'@source_uri': 'https://api-idp.buffalowildwings.com/bww/web-exp-api/v1/location?latitude=44.97&longitude=-103.77&radius=100000&limit=100&page=8&locale=en-us',
|
||||
'@spider': 'buffalo_wild_wings_us',
|
||||
'amenity': 'restaurant',
|
||||
'cuisine': 'wings',
|
||||
'short_name': 'BW3',
|
||||
'addr:street_address': '1 North Hawkins Avenue',
|
||||
'addr:city': 'Akron',
|
||||
'addr:state': 'OH',
|
||||
'addr:postcode': '44313',
|
||||
'addr:country': 'US',
|
||||
'phone': '+1 234-901-6151',
|
||||
'website': 'https://www.buffalowildwings.com/locations/us/oh/akron/1-north-hawkins-avenue/sports-bar-1645',
|
||||
'brand': 'Buffalo Wild Wings',
|
||||
'brand:wikidata': 'Q509255',
|
||||
'atp_ref': '3895',
|
||||
'opening_hours_in_atp_format': 'Mo-Th 11:00-23:00; Fr-Sa 11:00-24:00; Su 11:00-23:00',
|
||||
'atp_listing_name': 'Buffalo Wild Wings GO - Akron, OH - Wallhaven',
|
||||
'name': 'Buffalo Wild Wings'
|
||||
}
|
||||
osm_tags = {'amenity': 'restaurant', 'brand': 'Wingstop', 'brand:wikidata': 'Q8025339', 'cuisine': 'wings', 'name': 'Wingstop'}
|
||||
self.assertEqual(self.this_tag_lists_match(atp_tags, osm_tags), False)
|
||||
|
||||
def test_accept_match_of_brand_with_subbrand_case_1(self):
|
||||
atp_tags = {
|
||||
'amenity': 'fuel',
|
||||
|
|
Loading…
Add table
Reference in a new issue