b.t.f.ModuleAvailableFeature(Feature) : class documentation

Part of bzrlib.tests.features View In Hierarchy

This is a feature than describes a module we want to be available.

Declare the name of the module in __init__(), and then after probing, the module will be available as 'self.module'.

Instance VariablesmoduleThe module if it is available, else None.
Method __init__ Undocumented
Method module Undocumented
Method feature_name Undocumented
Method _probe Implement this method in concrete features.

Inherited from Feature:

Method available Is the feature available?
Method __str__ Undocumented
def __init__(self, module_name):
Undocumented
def _probe(self):
Implement this method in concrete features.
ReturnsTrue if the feature is available.
@property
def module(self):
Undocumented
def feature_name(self):
Undocumented
API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.