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:
Shivam Thakur
2022-06-27 23:53:25 +05:30
committed by GitHub
parent e667bf7712
commit 548c8d927d

View File

@@ -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)