mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-01 03:07:56 +00:00
lf_check.py : check for std_err being empty lf_report.py: formatting updates
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
@@ -118,7 +118,6 @@ class lf_report():
|
||||
print("graph_dst_file: {}".format(graph_dst_file))
|
||||
shutil.move(graph_src_file,graph_dst_file)
|
||||
|
||||
|
||||
def set_path(self,_path):
|
||||
self.path = _path
|
||||
|
||||
@@ -131,10 +130,6 @@ class lf_report():
|
||||
self.date = str(datetime.datetime.now().strftime("%Y-%m-%d-%H-%M-%S")).replace(':','-')
|
||||
self.date_time_directory = self.date + str("_") + str(self.results_dir_name)
|
||||
|
||||
#def set_date_time_directory(self,date_time_directory):
|
||||
# self.date_time_directory = date_time_directory
|
||||
|
||||
|
||||
def build_date_time_directory(self):
|
||||
if self.date_time_directory == "":
|
||||
self.set_date_time_directory()
|
||||
@@ -221,7 +216,6 @@ class lf_report():
|
||||
self.write_html()
|
||||
self.write_pdf()
|
||||
|
||||
# only use is pass all data in constructor, no graph output
|
||||
def build_all(self):
|
||||
self.build_banner()
|
||||
self.build_table_title()
|
||||
@@ -313,7 +307,6 @@ class lf_report():
|
||||
"""
|
||||
self.html +=self.graph_html_obj
|
||||
|
||||
|
||||
# Unit Test
|
||||
if __name__ == "__main__":
|
||||
|
||||
|
||||
Reference in New Issue
Block a user