From 0b03e7b06e2d2f7d0def492858a8b7a2ef4493bf Mon Sep 17 00:00:00 2001 From: jitendracandela Date: Thu, 13 Oct 2022 08:26:16 +0530 Subject: [PATCH] Added slash in report name Signed-off-by: jitendracandela --- lf_libs/lf_tests.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lf_libs/lf_tests.py b/lf_libs/lf_tests.py index 0b42e46c..6b4604bf 100644 --- a/lf_libs/lf_tests.py +++ b/lf_libs/lf_tests.py @@ -1059,7 +1059,7 @@ class lf_tests(lf_libs): try: report_name = "../reports/" + \ wificapacity_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[ - -1] + -1] + "/" influx = CSVtoInflux(influx_host=self.influx_params["influx_host"], influx_port=self.influx_params["influx_port"], influx_org=self.influx_params["influx_org"], @@ -1071,8 +1071,9 @@ class lf_tests(lf_libs): except Exception as e: print(e) pass - report_name = wificapacity_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + report_name = wificapacity_obj.report_name[0]['LAST']["response"].split(":::")[1].split("/")[-1] + "/" time.sleep(10) + logging.info("report_name: " + str(report_name)) self.attach_report_graphs(report_name=report_name) self.attach_report_kpi(report_name=report_name) wificapacity_obj_list.append(wificapacity_obj)