envisage.tests.test_plugin_manager module

Tests for the plugin manager.

class envisage.tests.test_plugin_manager.BadPlugin[source]

Bases: Plugin

A plugin that just causes trouble ;^).

start()[source]

Start the plugin.

stop()[source]

Stop the plugin.

class envisage.tests.test_plugin_manager.PluginManagerTestCase(methodName='runTest')[source]

Bases: TestCase

Tests for the plugin manager.

test_get_plugin()[source]

get plugin

test_ignore_plugins_matching_a_wildcard_in_the_exclude_list()[source]
test_ignore_plugins_whose_ids_are_in_the_exclude_list()[source]
test_iteration_over_plugins()[source]

iteration over plugins

test_only_include_plugins_matching_a_wildcard_in_the_include_list()[source]
test_only_include_plugins_whose_ids_are_in_the_include_list()[source]
test_start_and_stop()[source]

start and stop

test_start_and_stop_errors()[source]

start and stop errors

class envisage.tests.test_plugin_manager.SimplePlugin[source]

Bases: Plugin

A simple plugin.

start()[source]

Start the plugin.

stop()[source]

Stop the plugin.