mirror of
				https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
				synced 2025-10-31 18:58:01 +00:00 
			
		
		
		
	modified lf_tests.py
This commit is contained in:
		| @@ -461,6 +461,7 @@ class lf_tests(lf_libs): | |||||||
|                           body="TimeStamp: " + str(timestamp) + "\n" + str(json.dumps(current_config, indent=2)), |                           body="TimeStamp: " + str(timestamp) + "\n" + str(json.dumps(current_config, indent=2)), | ||||||
|                           attachment_type=allure.attachment_type.JSON) |                           attachment_type=allure.attachment_type.JSON) | ||||||
|  |  | ||||||
|  |             iwinfo = tip_2x_obj.dut_library_object.get_iwinfo() | ||||||
|  |  | ||||||
|             # step-1 validation |             # step-1 validation | ||||||
|             pcap_obj = LfPcap(host=self.manager_ip, port=self.manager_http_port) |             pcap_obj = LfPcap(host=self.manager_ip, port=self.manager_http_port) | ||||||
| @@ -522,8 +523,6 @@ class lf_tests(lf_libs): | |||||||
|                     return "FAIL", "TEST FAILED, station channel-width is not changed to 40Mhz" |                     return "FAIL", "TEST FAILED, station channel-width is not changed to 40Mhz" | ||||||
|             # Step 2 validation |             # Step 2 validation | ||||||
|             if reconfig == "tx_power": |             if reconfig == "tx_power": | ||||||
|                 iwinfo = tip_2x_obj.dut_library_object.get_iwinfo() |  | ||||||
|                 # print("iwinfo after Reconfiguration:", iwinfo) |  | ||||||
|                 if "Tx-Power: 20 dBm" in iwinfo: |                 if "Tx-Power: 20 dBm" in iwinfo: | ||||||
|                     print("Tx-power is changed to 20dBm successfully") |                     print("Tx-power is changed to 20dBm successfully") | ||||||
|                 else: |                 else: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 anil-tegala
					anil-tegala