b.t.T.FilteredByModuleTestLoader(TestLoader) : class documentation

Part of bzrlib.tests.TestUtil View In Hierarchy

A test loader that import only the needed modules.
Method __init__ Constructor.
Method loadTestsFromModuleName Undocumented

Inherited from TestLoader:

Method loadTestsFromModuleNames use a custom means to load tests from modules.
Method loadTestsFromModule Load tests from a module object.
Method getTestCaseNames Undocumented
def __init__(self, needs_module):
Constructor.
Parametersneeds_modulea callable taking a module name as a parameter returing True if the module should be loaded.
def loadTestsFromModuleName(self, name):
Undocumented
API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.