mirror of
https://github.com/Telecominfraproject/wlan-testing.git
synced 2025-11-02 03:48:09 +00:00
added wifi status in logs
Signed-off-by: shivamcandela <shivam.thakur@candelatech.com>
This commit is contained in:
@@ -586,8 +586,9 @@ if __name__ == '__main__':
|
||||
'version': "https://tip.jfrog.io/artifactory/tip-wlan-ap-firmware/uCentral/cig_wf188/20210729-cig_wf188-v2.0.0-rc2-ec3662e-upgrade.bin"
|
||||
}
|
||||
var = APNOS(credentials=obj, sdk="2.x")
|
||||
a = var.run_generic_command(cmd="wifi status")
|
||||
print("".join(a))
|
||||
a = var.get_wifi_status()
|
||||
|
||||
|
||||
# S = 9
|
||||
# instance_name = ''.join(random.choices(string.ascii_uppercase + string.digits, k=S))
|
||||
# var.run_generic_command(cmd="logger start testcase: " + instance_name)
|
||||
|
||||
@@ -325,8 +325,8 @@ class Fixtures_2x:
|
||||
stop_ref="stop testcase: " + instance_name)
|
||||
allure.attach(body=ap_logs, name="AP Log: ")
|
||||
|
||||
|
||||
|
||||
wifi_status = ap_ssh.get_wifi_status()
|
||||
allure.attach(name="wifi status", body=str(wifi_status))
|
||||
try:
|
||||
ssid_info_sdk = instantiate_profile_obj.get_ssid_info()
|
||||
ap_wifi_data = ap_ssh.get_iwinfo()
|
||||
@@ -362,7 +362,8 @@ class Fixtures_2x:
|
||||
pass
|
||||
|
||||
def teardown_session():
|
||||
|
||||
wifi_status = ap_ssh.get_wifi_status()
|
||||
allure.attach(name="wifi status", body=str(wifi_status))
|
||||
print("\nTeardown")
|
||||
|
||||
request.addfinalizer(teardown_session)
|
||||
|
||||
Reference in New Issue
Block a user