b.p.PlugIn(object) : class documentation

Part of bzrlib.plugin View In Hierarchy

The bzrlib representation of a plugin.

The PlugIn object provides a way to manipulate a given plugin module.

Method __init__ Construct a plugin for module.
Method path Get the path that this plugin was loaded from.
Method __str__ Undocumented
Method test_suite Return the plugin's test suite.
Method load_plugin_tests Return the adapted plugin's test suite.
Method version_info Return the plugin's version_tuple or None if unknown.
Method _get__version__ Undocumented
def __init__(self, name, module):
Construct a plugin for module.
def path(self):
Get the path that this plugin was loaded from.
def __str__(self):
Undocumented
def test_suite(self):
Return the plugin's test suite.
def load_plugin_tests(self, loader):
Return the adapted plugin's test suite.
ParametersloaderThe custom loader that should be used to load additional tests.
def version_info(self):
Return the plugin's version_tuple or None if unknown.
def _get__version__(self):
Undocumented
API Documentation for Bazaar, generated by pydoctor at 2019-09-18 00:32:59.