~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 5086.1.6.

Crude fix for bug #411413.

* bzrlib/tests/test_plugins.py:
(TestPluginMixin.create_plugin,
TestPluginMixin.create_plugin_package): Helpers to create simple
test plugins.
(TestDisablePlugin): Check that a disbled plugin can't be imported
nor automatically loaded.

* bzrlib/plugin.py:
(PluginBlackListImporter): Raise ImportError when a disabled plugin
is imported.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: