Package trac :: Package tests :: Package functional :: Module testenv

Module testenv

source code

Object for creating and destroying a Trac environment for testing purposes.
Provides some Trac environment-wide utility functions, and a way to call
:command:`trac-admin` without it being on the path.

Classes
  FunctionalTestEnvironment
Common location for convenience functions that work with the test environment on Trac.

Imports: os, time, signal, sys, errno, locale, call, Popen, PIPE, STDOUT, open_environment, EnvironmentStub, get_dburi, rmtree, logfile, tc, ConnectError, MySQLConnection, PostgreSQLConnection, close_fds