from auto_sliceing_operate.utils.miniIo import upload_file,check_file_exists,delete_file,download_file # 测试上传文件 def test_upload_file(): upload_file("test.txt", "test.txt") # 测试下载文件 def test_download_file(): download_file("test.txt", "testAAA.txt") # 测试删除文件 def test_delete_file(): delete_file("test.txt") # 测试检查文件是否存在 def test_check_file_exists(): print(check_file_exists("test.txt")) test_download_file()