mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-20 20:14:57 +00:00
lf_tx_power.py : added initial kpi.csv
lf_report.py : added creating dataframe from xlsx, lf_check.py : added clearing out lists when test portion complete. lf_qa.py updated help for server ip
This commit is contained in:
committed by
shivam
parent
86e91f0c76
commit
c79689c14a
@@ -228,6 +228,13 @@ class lf_report:
|
||||
def set_table_dataframe_from_csv(self, _csv):
|
||||
self.dataframe = pd.read_csv(_csv)
|
||||
|
||||
def set_table_dataframe_from_csv_sep_tab(self, _csv):
|
||||
self.dataframe = pd.read_csv(_csv, sep='\t')
|
||||
|
||||
# TODO
|
||||
def set_table_dataframe_from_xlsx(self,_xlsx):
|
||||
self.dataframe = pd.read_excel(_xlsx)
|
||||
|
||||
def set_custom_html(self, _custom_html):
|
||||
self.custom_html = _custom_html
|
||||
|
||||
@@ -459,6 +466,7 @@ class lf_report:
|
||||
justify='center') # have the index be able to be passed in.
|
||||
self.html += self.dataframe_html
|
||||
|
||||
|
||||
def test_setup_table(self, test_setup_data, value):
|
||||
if test_setup_data is None:
|
||||
return None
|
||||
|
||||
Reference in New Issue
Block a user