client connectivity fixes

This commit is contained in:
shivamcandela
2021-04-26 16:36:44 +05:30
parent 1b3089968b
commit c1e8775f06
5 changed files with 43 additions and 30 deletions

View File

@@ -246,10 +246,11 @@ def get_markers(request, get_security_flags):
@pytest.fixture(scope="session")
def get_latest_firmware(instantiate_firmware):
# try:
latest_firmware = instantiate_firmware.get_fw_version()
# except:
# latest_firmware = False
try:
latest_firmware = instantiate_firmware.get_fw_version()
except Exception as e:
print(e)
latest_firmware = False
yield latest_firmware