mirror of
https://github.com/Telecominfraproject/wlan-testing.git
synced 2026-01-27 10:23:37 +00:00
Wifi 9958 add the sdk stability long term tests (#651)
* WIFI-9958 : Added a marker for ow_sdk_load_tests for sdk tests Signed-off-by: shivam <shivam.thakur@candelatech.com> * WIFI-9958: Fixed the str error Signed-off-by: shivam <shivam.thakur@candelatech.com>
This commit is contained in:
@@ -138,13 +138,13 @@ class TestBulkConfigTest(object):
|
||||
status = profile_obj.push_config(serial_number=SERIAL)
|
||||
if status.status_code != 200:
|
||||
allure.attach("Configure command Failed: ", SERIAL, " Time: " + str(datetime.utcnow()))
|
||||
print(status.status_code + ":\t" + status.json())
|
||||
allure.attach(name=status.status_code, body=status.json())
|
||||
print(str(status.status_code) + ":\t" + str(status.json()))
|
||||
allure.attach(name=str(status.status_code), body=str(status.json()))
|
||||
print("Configure command success: ", SERIAL, " Time: " + str(datetime.utcnow()))
|
||||
PASS.append(False)
|
||||
if status.status_code == 200:
|
||||
print(status.status_code + ":\t" + status.json())
|
||||
allure.attach(name=status.status_code, body=status.json())
|
||||
print(str(status.status_code) + ":\t" + str(status.json()))
|
||||
allure.attach(name=str(status.status_code), body=str(status.json()))
|
||||
allure.attach("Configure command success: ", SERIAL, " Time: " + str(datetime.utcnow()))
|
||||
print("Configure command success: ", SERIAL, " Time: " + str(datetime.utcnow()))
|
||||
PASS.append(True)
|
||||
|
||||
Reference in New Issue
Block a user