文件操作 - workercommands.py
返回文件管理
返回主菜单
删除本文件
文件: /usr/lib/python3/dist-packages/twisted/trial/_dist/workercommands.py
编辑文件内容
# Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. """ Commands for telling a worker to load tests or run tests. @since: 12.3 """ from twisted.protocols.amp import Boolean, Command, Unicode NativeString = Unicode class Run(Command): """ Run a test. """ arguments = [(b"testCase", NativeString())] response = [(b"success", Boolean())] class Start(Command): """ Set up the worker process, giving the running directory. """ arguments = [(b"directory", NativeString())] response = [(b"success", Boolean())]
修改文件时间
将文件时间修改为当前时间的前一年
删除文件