diff options
Diffstat (limited to '04-CustomLibrary')
| -rw-r--r-- | 04-CustomLibrary/Custometest/cmd_cer.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/04-CustomLibrary/Custometest/cmd_cer.py b/04-CustomLibrary/Custometest/cmd_cer.py index 6e6e636..02e782c 100644 --- a/04-CustomLibrary/Custometest/cmd_cer.py +++ b/04-CustomLibrary/Custometest/cmd_cer.py @@ -110,9 +110,9 @@ class Order: fsize = os.path.getsize(linux_path + "/"+fiel_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): @@ -120,9 +120,9 @@ class Order: d = self.CMD(data) # print(d) if file_content in d: - return "Success" + return "ftp_success" else: - return "Fail" + return "ftp_fail" if __name__ == '__main__': datas = {"url":['https://www.baidu.com'], |
