Modified allure attach name for scan ssid data

Signed-off-by: jitendracandela <jitendra.kushavah@candelatech.com>
This commit is contained in:
jitendracandela
2022-08-17 16:56:54 +05:30
parent 4289d91fc4
commit 21aaefb53a

View File

@@ -769,7 +769,10 @@ class lf_libs:
csv_data_table = report_obj.table2(list_data)
# allure.attach(name="scan_ssid_data", body=csv_data_table)
if allure_attach:
allure.attach(name="scan_ssid_data_" + str(i + 1), body=csv_data_table)
if i == 0:
allure.attach(name="scan_ssid_data", body=csv_data_table)
else:
allure.attach(name="scan_ssid_data_retry", body=csv_data_table)
obj_scan.cleanup()
if self.check_ssid_available_scan_result(scan_ssid_data=list_data, ssid=ssid):
count = count + 1