Skip to content

Commit

Permalink
Wifi 9958 add the sdk stability long term tests (#651)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
embeddedshivam authored and anil-tegala committed Jun 29, 2022
1 parent f28ebf1 commit b8af09c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/e2e/basic/test_e2e_sdk_ap_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,13 +138,13 @@ def test_config_apply_test(self, setup_controller, instantiate_profile, get_conf
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)
Expand Down

0 comments on commit b8af09c

Please sign in to comment.