Module console
source code
|
|
|
|
|
| execute_cmd(tracadmin,
cmd,
strip_trailing_space=True,
input=None) |
source code
|
|
|
|
|
|
|
|
|
|
STRIP_TRAILING_SPACE = re.compile(r'(?m)( +)$')
|
|
|
__package__ = 'trac.admin.tests'
|
Imports:
copy,
difflib,
inspect,
os,
re,
sys,
tempfile,
textwrap,
unittest,
PIPE,
Popen,
StringIO,
trac,
AdminCommandManager,
IAdminCommandProvider,
console_date_format,
get_console_locale,
TracAdmin,
TracAdminHelpMacro,
ConfigSection,
Option,
Component,
ComponentMeta,
implements,
Environment,
EnvironmentStub,
rmtree,
create_file,
close_fds,
format_date,
get_date_format_hint,
get_datetime_format_hint,
get_available_locales,
has_babel,
MacroError
|
Reads the file, named file, which contains test results separated by the
regular expression pattern.
The test results are returned as a dictionary.
|