mirror of
https://github.com/Telecominfraproject/wlan-testing.git
synced 2025-11-02 03:48:09 +00:00
Wifi 8000 (#559)
* Attached kpi to allure Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com> * Changed value of move_to_influx Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>
This commit is contained in:
@@ -584,6 +584,13 @@ class ChamberView:
|
||||
|
||||
return dict_data
|
||||
|
||||
def attach_report_kpi(self, report_name=None, file_name="kpi_file"):
|
||||
path = "../reports/" + str(report_name) + "/kpi.csv"
|
||||
if os.path.exists(path):
|
||||
allure.attach.file(source=path,
|
||||
name=file_name, attachment_type="CSV")
|
||||
return os.path.exists(path)
|
||||
|
||||
def attach_report_graphs(self, report_name=None, pdf_name="WIFI Capacity Test PDF Report"):
|
||||
relevant_path = "../reports/" + report_name + "/"
|
||||
entries = os.listdir("../reports/" + report_name + '/')
|
||||
|
||||
Reference in New Issue
Block a user