文件操作 - ordertests.py
返回文件管理
返回主菜单
删除本文件
文件: /usr/lib/python3/dist-packages/twisted/trial/test/ordertests.py
编辑文件内容
# -*- test-case-name: twisted.trial.test.test_script -*- # Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. """ Tests for handling of trial's --order option. """ from twisted.trial import unittest class FooTest(unittest.TestCase): """ Used to make assertions about the order its tests will be run in. """ def test_first(self): pass def test_second(self): pass def test_third(self): pass def test_fourth(self): pass class BazTest(unittest.TestCase): """ Used to make assertions about the order the test cases in this module are run in. """ def test_baz(self): pass class BarTest(unittest.TestCase): """ Used to make assertions about the order the test cases in this module are run in. """ def test_bar(self): pass
修改文件时间
将文件时间修改为当前时间的前一年
删除文件