diff --git a/test_processing.py b/test_processing.py index 74b3e7a..a204d16 100644 --- a/test_processing.py +++ b/test_processing.py @@ -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)