mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-06 13:56:18 +00:00
lf_qa.py : pep8 linting , autopep8
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
committed by
shivam
parent
ef9c02ad5c
commit
39e1452b51
@@ -394,7 +394,6 @@ class csv_sql:
|
|||||||
print("test_run_list first [0] {}".format(test_run_list[0]))
|
print("test_run_list first [0] {}".format(test_run_list[0]))
|
||||||
print("test_run_list last [-1] {}".format(test_run_list[-1]))
|
print("test_run_list last [-1] {}".format(test_run_list[-1]))
|
||||||
|
|
||||||
|
|
||||||
self.test_run = test_run_list[-1]
|
self.test_run = test_run_list[-1]
|
||||||
# collect this runs subtest totals
|
# collect this runs subtest totals
|
||||||
df_tmp = df3.loc[df3['test_run'] == self.test_run]
|
df_tmp = df3.loc[df3['test_run'] == self.test_run]
|
||||||
@@ -446,9 +445,6 @@ class csv_sql:
|
|||||||
HW=self.dut_hw_version,
|
HW=self.dut_hw_version,
|
||||||
SN=self.dut_serial_num))
|
SN=self.dut_serial_num))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def generate_graph_png(self):
|
def generate_graph_png(self):
|
||||||
print(
|
print(
|
||||||
"generate png and html to display, generate time: {}".format(
|
"generate png and html to display, generate time: {}".format(
|
||||||
@@ -488,7 +484,6 @@ class csv_sql:
|
|||||||
self.test_rig_list = test_rig_list
|
self.test_rig_list = test_rig_list
|
||||||
print("test_rig_list: {}".format(test_rig_list))
|
print("test_rig_list: {}".format(test_rig_list))
|
||||||
|
|
||||||
|
|
||||||
# create the rest of the graphs
|
# create the rest of the graphs
|
||||||
for test_rig in test_rig_list:
|
for test_rig in test_rig_list:
|
||||||
for test_tag in test_tag_list:
|
for test_tag in test_tag_list:
|
||||||
@@ -575,7 +570,6 @@ class csv_sql:
|
|||||||
)
|
)
|
||||||
kpi_fig.update_layout(autotypenumbers='convert types')
|
kpi_fig.update_layout(autotypenumbers='convert types')
|
||||||
|
|
||||||
|
|
||||||
self.generate_png(df_tmp=df_tmp,
|
self.generate_png(df_tmp=df_tmp,
|
||||||
group=group,
|
group=group,
|
||||||
test_id_list=test_id_list,
|
test_id_list=test_id_list,
|
||||||
@@ -665,7 +659,6 @@ Usage: lf_qa.py --store --png --path <path to directories to traverse> --databas
|
|||||||
print("Need to enter an action of --store --png ")
|
print("Need to enter an action of --store --png ")
|
||||||
exit(1)
|
exit(1)
|
||||||
|
|
||||||
|
|
||||||
# create report class for reporting
|
# create report class for reporting
|
||||||
report = lf_report(_path=__path,
|
report = lf_report(_path=__path,
|
||||||
_results_dir_name=__dir,
|
_results_dir_name=__dir,
|
||||||
|
|||||||
Reference in New Issue
Block a user