~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 4628.2.1.

  • Committer: Vincent Ladeuil
  • Date: 2009-08-19 17:01:06 UTC
  • mto: (4672.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 4673.
  • 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: