Skip to content

Commit d33b069

Browse files
committed
Update test values
1 parent cd6ecd7 commit d33b069

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

scripts/jobs/housing/housing_nec_migration_properties_data_load_gx_suite.py

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,28 @@ class PropertiesExpectPropRefColumnValuesToNotBeNull(gxe.ExpectColumnValuesToNot
1717
description: str = "Expect lpro_propref (prop ref) values to not be Null"
1818

1919

20+
class PropertiesExpectPropTypeCodeToBeInSet(gxe.ExpectColumnValuesToBeInSet):
21+
column: str = "LPRO_HOU_PTV_CODE"
22+
value_set: list = [
23+
"BUN",
24+
"CMC",
25+
"CMF",
26+
"COM",
27+
"CYC",
28+
"DUP",
29+
"FLT",
30+
"GAR",
31+
"HOU",
32+
"MAI",
33+
"PRA",
34+
"PSP",
35+
"ROM",
36+
"STD",
37+
"TRV",
38+
]
39+
description: str = "Expect property type codes to contain one of the set"
40+
41+
2042
class PropertiesExpectOccStatusCodeToBeInSet(gxe.ExpectColumnValuesToBeInSet):
2143
column: str = "lpro_sco_code"
2244
value_set: list = ["OCC", "VOI", "CLO"]
@@ -151,6 +173,7 @@ class PropertiesExpectPropColumnsToMatchOrderedList(
151173
suite = gx.ExpectationSuite(name="properties_data_load_suite")
152174

153175
suite.add_expectation(PropertiesExpectPropRefColumnValuesToBeUnique())
176+
suite.add_expectation(PropertiesExpectPropTypeCodeToBeInSet())
154177
suite.add_expectation(PropertiesExpectOccStatusCodeToBeInSet())
155178
suite.add_expectation(PropertiesExpectOrgIndicatorToBeInSet())
156179
suite.add_expectation(PropertiesExpectOwnTypeToBeInSet())

0 commit comments

Comments
 (0)