@@ -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+
2042class PropertiesExpectOccStatusCodeToBeInSet (gxe .ExpectColumnValuesToBeInSet ):
2143 column : str = "LPRO_SCO_CODE"
2244 value_set : list = ["OCC" , "VOI" , "CLO" ]
@@ -66,7 +88,7 @@ class PropertiesExpectPropTypeValuesToBeInSet(gxe.ExpectColumnValuesToBeInSet):
6688 column : str = "LPRO_HOU_PTV_CODE"
6789 value_set : list = [
6890 "CMC" ,
69- "CMF " ,
91+ "CMC " ,
7092 "GAR" ,
7193 "FLT" ,
7294 "HOU" ,
@@ -81,17 +103,15 @@ class PropertiesExpectPropTypeValuesToBeInSet(gxe.ExpectColumnValuesToBeInSet):
81103 "CYC" ,
82104 "DUP" ,
83105 "BOI" ,
84- "LFT " ,
106+ "CMC " ,
85107 "CON" ,
86- "PLY " ,
87-
108+ "LFT " ,
109+ "PLY"
88110 ]
89111 description : str = "Expect property type values to be one of the set"
90112
91113
92- class PropertiesExpectPropColumnsToMatchOrderedList (
93- gxe .ExpectTableColumnsToMatchOrderedList
94- ):
114+ class PropertiesExpectPropColumnsToMatchOrderedList (gxe .ExpectTableColumnsToMatchOrderedList ):
95115 column_list = [
96116 "LPRO_PROPREF" ,
97117 "LPRO_HOU_FRB" ,
@@ -140,6 +160,7 @@ class PropertiesExpectPropColumnsToMatchOrderedList(
140160suite = gx .ExpectationSuite (name = "properties_data_load_suite" )
141161
142162suite .add_expectation (PropertiesExpectPropRefColumnValuesToBeUnique ())
163+ suite .add_expectation (PropertiesExpectPropTypeCodeToBeInSet ())
143164suite .add_expectation (PropertiesExpectOccStatusCodeToBeInSet ())
144165suite .add_expectation (PropertiesExpectOrgIndicatorToBeInSet ())
145166suite .add_expectation (PropertiesExpectOwnTypeToBeInSet ())
0 commit comments