diff --git a/py-scripts/tools/lf_check.py b/py-scripts/tools/lf_check.py index a6c60ca7..c09164cb 100755 --- a/py-scripts/tools/lf_check.py +++ b/py-scripts/tools/lf_check.py @@ -770,6 +770,7 @@ NOTE: Diagrams are links in dashboard""".format(ip_qa=ip,qa_url=qa_url) self.logger.info("test: {} skipped".format(test)) # load the default database elif self.test_dict[test]['enabled'] == "TRUE": + #TODO Place test interations here # if args key has a value of an empty string then need to manipulate the args_list to args # list does not have replace only stings do to args_list will be joined and converted to a string and placed # in args. Then the replace below will work. diff --git a/py-scripts/tools/lf_qa.py b/py-scripts/tools/lf_qa.py index 70c77f93..f7c5bad3 100755 --- a/py-scripts/tools/lf_qa.py +++ b/py-scripts/tools/lf_qa.py @@ -78,11 +78,20 @@ class csv_sqlite_dash(): def get_dut_info(self): dut_info_df = pd.DataFrame() #try: + print("DUT: {DUT} SW:{SW} HW:{HW} SN:{SN}" + .format(DUT=self.dut_model_num_list,SW=self.dut_sw_version_list,HW=self.dut_hw_version_list,SN=self.dut_serial_num_list)) + dut_info_df['DUT'] = self.dut_model_num_list[0] dut_info_df['SW version'] = self.dut_sw_version_list[0] dut_info_df['HW version'] = self.dut_hw_version_list[0] dut_info_df['Serial'] = self.dut_serial_num_list[0] - print("DUT: {df}".format(df=dut_info_df)) + print("DUT: {DUT} SW:{SW} HW:{HW} SN:{SN}" + .format(DUT=self.dut_model_num_list,SW=self.dut_sw_version_list,HW=self.dut_hw_version_list,SN=self.dut_serial_num_list)) + + print("DUT df_na: {df}".format(df=dut_info_df)) + dut_info_df = dut_info_df.dropna() + print("DUT df: {df}".format(df=dut_info_df)) + #except: # dut_info_df['DUT'] = 'NA' # dut_info_df['SW version'] = 'NA'