File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff 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+
2042class PropertiesExpectOccStatusCodeToBeInSet (gxe .ExpectColumnValuesToBeInSet ):
2143 column : str = "LPRO_SCO_CODE"
2244 value_set : list = ["OCC" , "VOI" , "CLO" ]
@@ -138,6 +160,7 @@ class PropertiesExpectPropColumnsToMatchOrderedList(gxe.ExpectTableColumnsToMatc
138160suite = gx .ExpectationSuite (name = "properties_data_load_suite" )
139161
140162suite .add_expectation (PropertiesExpectPropRefColumnValuesToBeUnique ())
163+ suite .add_expectation (PropertiesExpectPropTypeCodeToBeInSet ())
141164suite .add_expectation (PropertiesExpectOccStatusCodeToBeInSet ())
142165suite .add_expectation (PropertiesExpectOrgIndicatorToBeInSet ())
143166suite .add_expectation (PropertiesExpectOwnTypeToBeInSet ())
You can’t perform that action at this time.
0 commit comments