@@ -29,12 +29,30 @@ def __init__(self, strProjectCode, strFlavor, strTestSuiteId, strTestSuite, minu
2929
3030 def _AssembleDisplayParameters (self ):
3131
32- lst_parms = ["column_name" , "skip_errors" , "baseline_ct" , "baseline_unique_ct" , "baseline_value" ,
33- "baseline_value_ct" , "baseline_sum" , "baseline_avg" , "baseline_sd" , "subset_condition" ,
34- "groupby_names" , "having_condition" , "window_date_column" , "window_days" ,
35- "match_column_names" , "match_subset_condition" , "match_schema_name" , "match_table_name" ,
36- "match_groupby_names" , "match_having_condition" ,
37- ]
32+ lst_parms = [
33+ "column_name" ,
34+ "skip_errors" ,
35+ "baseline_ct" ,
36+ "baseline_unique_ct" ,
37+ "baseline_value" ,
38+ "baseline_value_ct" ,
39+ "baseline_sum" ,
40+ "baseline_avg" ,
41+ "baseline_sd" ,
42+ "lower_tolerance" ,
43+ "upper_tolerance" ,
44+ "subset_condition" ,
45+ "groupby_names" ,
46+ "having_condition" ,
47+ "window_date_column" ,
48+ "window_days" ,
49+ "match_column_names" ,
50+ "match_subset_condition" ,
51+ "match_schema_name" ,
52+ "match_table_name" ,
53+ "match_groupby_names" ,
54+ "match_having_condition" ,
55+ ]
3856 str_parms = "; " .join (f"{ key } ={ self .dctTestParms [key ]} "
3957 for key in lst_parms
4058 if key .lower () in self .dctTestParms and self .dctTestParms [key ] not in [None , "" ])
@@ -107,11 +125,6 @@ def GetTestsNonCAT(self, booClean):
107125
108126 return strQ
109127
110- def AddTestRecordtoTestRunTable (self ):
111- strQ = self ._ReplaceParms (read_template_sql_file ("ex_write_test_record_to_testrun_table.sql" , "execution" ))
112-
113- return strQ
114-
115128 def PushTestRunStatusUpdateSQL (self ):
116129 # Runs on DK DB
117130 strQ = self ._ReplaceParms (read_template_sql_file ("ex_update_test_record_in_testrun_table.sql" , "execution" ))
0 commit comments