def test_cancel_health_check(self): api = FirmwareApi() firmware_api = None try: firmware_api = api.cancel_health_check() # For the DELETE calls, there's no reponse returned and we want to set that as a valid sdk call. if firmware_api is None: firmware_api = 1 except (ApiException, IOError) as exp: # The API call went through but got a HTTP errorcode, which means the SDK works firmware_api = 1 self.assertNotEqual(firmware_api, None)
def test_upload_nvsram_file(self): api = FirmwareApi() firmware_api = None try: firmware_api = api.upload_nvsram_file(system_id="test", ) # For the DELETE calls, there's no reponse returned and we want to set that as a valid sdk call. if firmware_api is None: firmware_api = 1 except (ApiException, IOError) as exp: # The API call went through but got a HTTP errorcode, which means the SDK works firmware_api = 1 self.assertNotEqual(firmware_api, None)