lf_report.py : added support of moving graph.png files to results directory

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
Chuck SmileyRekiere
2021-04-18 10:22:41 -06:00
parent 84a584657c
commit 0b2265fd92
2 changed files with 29 additions and 21 deletions

View File

@@ -54,6 +54,7 @@ if __name__ == "__main__":
report.set_graph_title("Graph Title")
report.build_graph_title()
graph = lf_bar_graph(_data_set=dataset,
_xaxis_name="stations",
_yaxis_name="Throughput 2 (Mbps)",
@@ -69,6 +70,8 @@ if __name__ == "__main__":
print("graph name {}".format(graph_png))
report.set_graph_image(graph_png)
# need to move the graph image to the results
report.move_graph_image()
report.build_graph()