A subclass of Twisted Trial’s unittest.TestCase. It sets up an environment much like a running Ibid including a clean SQLite database, and loads the specified plugins,
List: strings naming plugins to be loaded before running tests.
List: strings naming plugins not to be loaded.
Boolean: whether to load a small set of base plugins (currently, just core).
Boolean: load all configured modules (excluding
String: the default username/nick in events created by the
Boolean: whether or not the test uses the external network. Used to skip tests in networkless environments (where the environment variable
Create and return an event on the test source, from the test user, of type type.
Process event (either an event or a string to be treated as a message from the test user on the test source), and return a 3-tuple of (result, event, responses); result is a bool indicating whether the response matches regex (either a regex string or a compiled regex).
The other two elements give more information: event is the processed event; responses is a single matching response if result is
True, or a list of all responses otherwise.
Process event (either an event or a string to be treated as a message from the test user on the test source), and check that it is processed by some
Processorand no complaint is set.