~bzr/bzr/412930-plugin-path

Viewing all changes in revision 4629.

  • Committer: Vincent Ladeuil
  • Date: 2009-08-19 17:01:06 UTC
  • Revision ID: v.ladeuil+lp@free.fr-20090819170106-v652tu3p0mqnqs09
Start introducing accessors for plugin paths.

* bzrlib/tests/test_plugins.py:
(clear_plugins): Deleted (or rather turned into a proper setUp).
(TestLoadFromPath): Use a proper setUp.
(TestLoadPlugins): Merged into TestLoadFromPath.
(TestEnvPluginPath): Start simple tests for path composition.

* bzrlib/plugin.py:
(_append_new_path): New helper.
(get_core_plugin_path, get_site_plugin_path,
get_user_plugin_path): New accessors.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: