mirror of
https://github.com/Telecominfraproject/wlan-testing.git
synced 2025-10-31 19:08:01 +00:00
Update test_connectivity script (#1060)
Signed-off-by: bhargavi-ct <bhargavimamidipaka@candelatech.com> Co-authored-by: bhargavi-ct <bhargavimamidipaka@candelatech.com>
This commit is contained in:
@@ -415,9 +415,9 @@ class TestFirmwareUpgrade(object):
|
|||||||
for update in get_target_object.setup_firmware():
|
for update in get_target_object.setup_firmware():
|
||||||
logging.info(f"update from setup firmware::{update}")
|
logging.info(f"update from setup firmware::{update}")
|
||||||
allure.attach(name='serial: ' + update[0], body="")
|
allure.attach(name='serial: ' + update[0], body="")
|
||||||
if len(update) == 3:
|
if len(update) >= 3:
|
||||||
if update[1] == update[2]:
|
if update[1] == update[2]:
|
||||||
logging.info(f"Yes, current and target firmware versions are same after firmware upgrade")
|
logging.info(f"Yes, current and target firmware versions are same")
|
||||||
else:
|
else:
|
||||||
logging.info(f"No, current and target firmware versions are not same")
|
logging.info(f"No, current and target firmware versions are not same")
|
||||||
pytest.fail(f"No, current and target firmware versions are not same")
|
pytest.fail(f"No, current and target firmware versions are not same")
|
||||||
|
|||||||
Reference in New Issue
Block a user