From cf77d3ffdbaa25063c83b96a64b1c4eec8c8f032 Mon Sep 17 00:00:00 2001 From: Lukas Melninkas Date: Mon, 29 Apr 2024 12:15:33 +0300 Subject: [PATCH] Support bvd as street type --- pyap/source_US/data.py | 1 + tests/test_parser_us.py | 1 + 2 files changed, 2 insertions(+) diff --git a/pyap/source_US/data.py b/pyap/source_US/data.py index d31db69..598279a 100644 --- a/pyap/source_US/data.py +++ b/pyap/source_US/data.py @@ -264,6 +264,7 @@ def str_list_to_upper_lower_regex(str_list: List[str]) -> str: "Btm", "Burg", "Burgs", + "Bvd", "Byp", "Bypa", "Bypas", diff --git a/tests/test_parser_us.py b/tests/test_parser_us.py index 2a1cf62..89f10b3 100644 --- a/tests/test_parser_us.py +++ b/tests/test_parser_us.py @@ -387,6 +387,7 @@ def test_po_box_positive(input, expected): "input,expected", [ # positive assertions + ("1111 WILSON BVD STE 2222", True), ("800 W EL CAMINO REAL\n350 STE *", True), ("899 HEATHROW PARK LN", True), ("1806 Dominion Way Ste B", True),