建模程序 多个定时程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

20 lines
483 B

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()