@@ -43,6 +43,7 @@ def test_address_class_init():
4343 city = "CityVille, " ,
4444 full_street = "Street 1b" ,
4545 full_address = "Street 1b CityVille USA" ,
46+ line1 = "Street 1b" ,
4647 )
4748 assert addr .region1 == "USA"
4849
@@ -94,6 +95,8 @@ def test_combine_results():
9495 "postal_code" : "44483" ,
9596 "full_address" : "2590 Elm Road NE - Warren, OH 44483, US" ,
9697 "country" : "US" ,
98+ "line1" : "2590 Elm Road NE" ,
99+ "line2" : "" ,
97100 },
98101 ),
99102 (
@@ -106,6 +109,8 @@ def test_combine_results():
106109 "region1" : "FL" ,
107110 "postal_code" : "32746" ,
108111 "full_address" : "899 HEATHROW PARK LN 02-2135\n LAKE MARY, FL 32746" ,
112+ "line1" : "899 HEATHROW PARK LN" ,
113+ "line2" : "02-2135" ,
109114 },
110115 ),
111116 (
@@ -119,6 +124,8 @@ def test_combine_results():
119124 "region1" : "FL" ,
120125 "postal_code" : "32547" ,
121126 "full_address" : "696 BEAL PKWY NW\n FT WALTON BCH FL 32547" ,
127+ "line1" : "696 BEAL PKWY NW" ,
128+ "line2" : "" ,
122129 },
123130 ),
124131 (
@@ -134,6 +141,8 @@ def test_combine_results():
134141 "full_address" : (
135142 "225 E. John Carpenter Freeway, Suite 1500 Irving, Texas 75062"
136143 ),
144+ "line1" : "225 E. John Carpenter Freeway" ,
145+ "line2" : "Suite 1500" ,
137146 },
138147 ),
139148 (
@@ -146,6 +155,8 @@ def test_combine_results():
146155 "region1" : None ,
147156 "postal_code" : "49441" ,
148157 "full_address" : "1300 E MOUNT GARFIELD ROAD, NORTON SHORES 49441" ,
158+ "line1" : "1300 E MOUNT GARFIELD ROAD" ,
159+ "line2" : "" ,
149160 },
150161 ),
151162 (
@@ -158,6 +169,8 @@ def test_combine_results():
158169 "city" : "Richfield" ,
159170 "region1" : "MN" ,
160171 "postal_code" : "55423" ,
172+ "line1" : "7601 Penn Avenue South" ,
173+ "line2" : "" ,
161174 },
162175 ),
163176 (
@@ -169,6 +182,8 @@ def test_combine_results():
169182 "city" : "LOS ANGELES" ,
170183 "region1" : "CA" ,
171184 "postal_code" : None ,
185+ "line1" : "242 N AVENUE 25" ,
186+ "line2" : "SUITE 300" ,
172187 },
173188 ),
174189 (
@@ -181,6 +196,8 @@ def test_combine_results():
181196 "city" : "San Ramon" ,
182197 "region1" : "CA" ,
183198 "postal_code" : "94583-2176" ,
199+ "line1" : "2633 Camino Ramon" ,
200+ "line2" : "Ste. 400" ,
184201 },
185202 ),
186203 (
@@ -194,6 +211,8 @@ def test_combine_results():
194211 "region1" : "KS" ,
195212 "po_box" : "PO Drawer J" ,
196213 "postal_code" : "67530" ,
214+ "line1" : "2006 Broadway Ave" ,
215+ "line2" : "Suite 2A, PO Drawer J" ,
197216 },
198217 ),
199218 (
@@ -206,6 +225,8 @@ def test_combine_results():
206225 "city" : "Houston" ,
207226 "region1" : "TX" ,
208227 "postal_code" : "77030-3411" ,
228+ "line1" : "One Baylor Plaza" ,
229+ "line2" : "MS: BCM204" ,
209230 },
210231 ),
211232 (
@@ -218,6 +239,8 @@ def test_combine_results():
218239 "city" : "Amazeville" ,
219240 "region1" : "AL" ,
220241 "postal_code" : "12345" ,
242+ "line1" : "2817 PETERS ROAD" ,
243+ "line2" : "BAY 52" ,
221244 },
222245 ),
223246 (
@@ -230,6 +253,8 @@ def test_combine_results():
230253 "city" : "SAN FRANCISCO" ,
231254 "region1" : "CA" ,
232255 "postal_code" : "94131" ,
256+ "line1" : "6325F OPAL HEIGHTS BL" ,
257+ "line2" : "" ,
233258 },
234259 ),
235260 (
@@ -242,6 +267,8 @@ def test_combine_results():
242267 "city" : "LEHI" ,
243268 "region1" : "UT" ,
244269 "postal_code" : "84043" ,
270+ "line1" : "2744W GRANDIOSE WAY" ,
271+ "line2" : "#100" ,
245272 },
246273 ),
247274 (
@@ -254,6 +281,8 @@ def test_combine_results():
254281 "city" : "ST. LOUIS" ,
255282 "region1" : "MO" ,
256283 "postal_code" : "63101" ,
284+ "line1" : "532 N 9TH STREET" ,
285+ "line2" : "" ,
257286 },
258287 ),
259288 ],
0 commit comments