From a42f258c4c23f1821aafa253e90c92f2600dabdb Mon Sep 17 00:00:00 2001 From: jitendracandela Date: Tue, 15 Nov 2022 15:09:11 +0530 Subject: [PATCH] Added mac in station data table and removed print statement Signed-off-by: jitendracandela --- lf_libs/lf_tests.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lf_libs/lf_tests.py b/lf_libs/lf_tests.py index e335cd66..56230257 100644 --- a/lf_libs/lf_tests.py +++ b/lf_libs/lf_tests.py @@ -209,7 +209,7 @@ class lf_tests(lf_libs): time.sleep(runtime_secs) pass_fail_result = [] for obj in sta_connect_obj: - sta_rows = ["4way time (us)", "channel", "cx time (us)", "dhcp (ms)", "ip", "signal"] + sta_rows = ["4way time (us)", "channel", "cx time (us)", "dhcp (ms)", "ip", "signal", "mac"] station_data = self.get_station_data(sta_name=obj.station_names, rows=sta_rows, allure_attach=False) sta_table_dict = {} @@ -293,7 +293,7 @@ class lf_tests(lf_libs): result = "FAIL" for obj in sta_connect_obj: try: - print("1." + str(obj.resource) + "." + str(obj.radio)) + # print("1." + str(obj.resource) + "." + str(obj.radio)) self.get_supplicant_logs(radio=str(obj.radio)) except Exception as e: logging.error("client_cpnnectivity_tests() -- Error in getting Supplicant Logs:" + str(e)) @@ -465,7 +465,7 @@ class lf_tests(lf_libs): time.sleep(runtime_secs) pass_fail_result = [] for obj in eap_connect_objs: - sta_rows = ["4way time (us)", "channel", "cx time (us)", "dhcp (ms)", "ip", "signal"] + sta_rows = ["4way time (us)", "channel", "cx time (us)", "dhcp (ms)", "ip", "signal", "mac"] self.station_data = self.get_station_data(sta_name=obj.sta_list, rows=sta_rows, allure_attach=False) sta_table_dict = {} @@ -542,7 +542,7 @@ class lf_tests(lf_libs): pass_fail_result.append(temp_dict) for obj in eap_connect_objs: try: - print("1." + str(obj.resource) + "." + str(obj.radio)) + # print("1." + str(obj.resource) + "." + str(obj.radio)) self.get_supplicant_logs(radio=str(obj.radio)) except Exception as e: logging.error("client_cpnnectivity_tests() -- Error in getting Supplicant Logs:" + str(e))