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):
def _probe(self):
Implement this method in concrete features.
ReturnsTrue if the feature is available.
def module(self):
def feature_name(self):
API Documentation for Bazaar, generated by pydoctor at 2020-08-06 00:52:43.