Lines Matching refs:format
93 error_msg = ErrorMessage.TestCase.Code_0203001.format(file_abs_path, exception)
239 "test -d {} && echo 0".format(remote_file))
260 raise ParamError("expected [equal, starts_with, ends_with, contains], get [{}]".format(fuzzy))
265 cmd = "ps -ef | grep '{}'".format(process_name)
282 cmd = "lsof -i:{}".format(port)
286 out = shell_command("netstat -aon", "findstr :{}".format(port))
294 out = shell_command("tasklist", "findstr {}".format(items[-1]))
298 log.error("check port state error, reason: {}".format(e))
319 raise FileNotFoundError(ErrorMessage.Common.Code_0201001.format(ErrorCategory.Environment, pc_file))
322 "md5sum {}".format(device_file)).split()[0].strip()
323 device.log.debug("device {} md5: {}".format(local_file_name, device_md5))
328 device.log.debug("local {} md5: {}".format(local_file_name, local_md5))