__init__.py
来自「trac是一款svn服务器的web客户端」· Python 代码 · 共 40 行
PY
40 行
# -*- coding: utf-8 -*-## Copyright (C) 2005-2007 Edgewall Software# All rights reserved.## This software is licensed as described in the file COPYING, which# you should have received as part of this distribution. The terms# are also available at http://trac.edgewall.org/wiki/TracLicense.## This software consists of voluntary contributions made by many# individuals. For the exact contribution history, see the revision# history and logs, available at http://trac.edgewall.org/log/.import unittestfrom trac.web.tests import api, auth, cgi_frontend, chrome, href, session, \ wikisyntaxtry: import neo_cgi from trac.web.tests import clearsilverexcept ImportError: clearsilver = Nonedef suite(): suite = unittest.TestSuite() suite.addTest(api.suite()) suite.addTest(auth.suite()) suite.addTest(cgi_frontend.suite()) suite.addTest(chrome.suite()) if clearsilver: suite.addTest(clearsilver.suite()) suite.addTest(href.suite()) suite.addTest(session.suite()) suite.addTest(wikisyntax.suite()) return suiteif __name__ == '__main__': unittest.main(defaultTest='suite')
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?