Skip to content

Commit d1b3936

Browse files
committed
Postal code tests
1 parent 5c5b715 commit d1b3936

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

delta_backend/tests/test_convert_post_code.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ def test_person_postal_code_select_home_type_not_postal(self):
5454
"""Test case where a home address with type!=postal should be selected"""
5555
self.request_json_data["contained"][1]["address"] = [
5656
{"postalCode": "CC33 3CC", "use": "old", "type": "physical"},
57+
{"postalCode": "EE55 5EE", "use": "temp", "type": "postal"},
5758
{"postalCode": "DD44 4DD", "use": "home", "type": "physical"},
5859
{"postalCode": "DD44 4DP", "use": "home", "type": "physical"},
59-
{"postalCode": "EE55 5EE", "use": "temp", "type": "postal"},
6060
]
6161
expected_postal_code = "DD44 4DD"
6262
self._run_postal_code_test(expected_postal_code)
@@ -66,8 +66,8 @@ def test_person_postal_code_select_first_non_old_type_not_postal(self):
6666
self.request_json_data["contained"][1]["address"] = [
6767
{"postalCode": "FF66 6FF", "use": "old", "type": "physical"},
6868
{"postalCode": "GG77 7GG", "use": "temp", "type": "physical"},
69-
{"postalCode": "GG77 7GI", "use": "temp", "type": "physical"},
7069
{"postalCode": "HH88 8HH", "use": "old", "type": "postal"},
70+
{"postalCode": "GG77 7GI", "use": "temp", "type": "physical"},
7171
]
7272
expected_postal_code = "GG77 7GG"
7373
self._run_postal_code_test(expected_postal_code)

0 commit comments

Comments
 (0)