diff --git a/04-CustomLibrary/Custometest/cmd_cer.py b/04-CustomLibrary/Custometest/cmd_cer.py index a0f1bce..5c31084 100644 --- a/04-CustomLibrary/Custometest/cmd_cer.py +++ b/04-CustomLibrary/Custometest/cmd_cer.py @@ -112,9 +112,9 @@ class Order: fsize = os.path.getsize(linux_path + "/"+file_name) # 435814 print(fsize) if fsize == file_size: - return "Success" + return "ftp_success" else: - return "Fail" + return "ftp_fail" # FTP 登录 def FTP_login(self, ftp_url,file_content): @@ -127,9 +127,9 @@ class Order: d = self.CMD(data) if file_content in d: - return "Success" + return "ftp_success" else: - return "Fail" + return "ftp_fail" # 判断当前操作系统 def Operating_System(self):