def test_address_lines_for_mailing(): info = OnboardingInfo() assert info.address_lines_for_mailing == [] info.address = "150 Boop Way" assert info.address_lines_for_mailing == ["150 Boop Way"] info.apt_number = "2" assert info.address_lines_for_mailing == ["150 Boop Way", "Apartment 2"] info.borough = "MANHATTAN" info.state = "NY" assert info.address_lines_for_mailing == [ "150 Boop Way", "Apartment 2", "New York, NY" ] info.zipcode = "11201" assert info.address_lines_for_mailing == [ "150 Boop Way", "Apartment 2", "New York, NY 11201" ] info.borough = "" info.non_nyc_city = "Beetville" info.state = "OH" info.zipcode = "43210" assert info.address_lines_for_mailing == [ "150 Boop Way", "Apartment 2", "Beetville, OH 43210" ]
def test_address_lines_for_mailing(): info = OnboardingInfo() assert info.address_lines_for_mailing == [] info.address = "150 Boop Way" assert info.address_lines_for_mailing == ["150 Boop Way"] info.apt_number = "2" assert info.address_lines_for_mailing == ["150 Boop Way", "Apartment 2"] info.borough = "MANHATTAN" assert info.address_lines_for_mailing == [ "150 Boop Way", "Apartment 2", "New York, NY" ] info.zipcode = "11201" assert info.address_lines_for_mailing == [ "150 Boop Way", "Apartment 2", "New York, NY 11201" ]