mirror of
https://codeberg.org/matkoniecz/list_how_openstreetmap_can_be_improved_with_alltheplaces_data.git
synced 2025-04-11 01:59:30 +02:00
fix name collision
This commit is contained in:
parent
dade2427b9
commit
64e976a00d
1 changed files with 2 additions and 2 deletions
|
@ -160,7 +160,7 @@ class ProcessingTests(unittest.TestCase):
|
|||
self.assertNotEqual(qa.remove_bad_data(ProcessingTests.merge(sample, {}), 'atp_code'), None)
|
||||
|
||||
|
||||
def test_hidden_closure_note_results_in_skipped_entry_upcoming_opening_mentioned_in_address_field(self):
|
||||
def test_hidden_closure_note_results_in_skipped_entry_upcoming_opening_mentioned_in_address_field_variant_a(self):
|
||||
# https://github.com/alltheplaces/alltheplaces/issues/11868
|
||||
sample = {'amenity': 'car_rental', 'brand': 'Hertz', 'name': 'Hertz', 'atp_listing_name': 'Hertz', 'addr:full': '896 Burwood Highway<UL><LI><STRONG><I>Grand Opening 14th February, 2025 - Book now!</I></STRONG></UL></LI>'}
|
||||
self.assertEqual(qa.remove_bad_data(ProcessingTests.merge(sample, {}), 'atp_code'), None)
|
||||
|
@ -168,7 +168,7 @@ class ProcessingTests(unittest.TestCase):
|
|||
self.assertNotEqual(qa.remove_bad_data(ProcessingTests.merge(sample, {}), 'atp_code'), None)
|
||||
|
||||
|
||||
def test_hidden_closure_note_results_in_skipped_entry_upcoming_opening_mentioned_in_address_field(self):
|
||||
def test_hidden_closure_note_results_in_skipped_entry_upcoming_opening_mentioned_in_address_field_variant_b(self):
|
||||
# https://github.com/alltheplaces/alltheplaces/issues/11868
|
||||
sample = {'amenity': 'car_rental', 'brand': 'Hertz', 'name': 'Hertz', 'atp_listing_name': 'Hertz', 'addr:full': '20 Commercial Drive<UL><LI><STRONG><I>Hertz Wallan opens 02 Jan, 2025</I></STRONG></UL></LI>'}
|
||||
self.assertEqual(qa.remove_bad_data(ProcessingTests.merge(sample, {}), 'atp_code'), None)
|
||||
|
|
Loading…
Add table
Reference in a new issue