b.t.t._ForkedSelftest(_Selftest) : class documentation

Part of bzrlib.tests.test_selftest View In Hierarchy

Known subclasses: bzrlib.tests.test_selftest.TestParallelFork, bzrlib.tests.test_selftest.TestUncollectedWarningsForked

Mixin for tests needing full selftest output with forked children
Method _inject_stream_into_subunit Monkey-patch subunit so the extra output goes to stream not stdout
Method _run_selftest Undocumented
def _inject_stream_into_subunit(self, stream):
Monkey-patch subunit so the extra output goes to stream not stdout

Some APIs need rewriting so this kind of bogus hackery can be replaced by passing the stream param from run_tests down into ProtocolTestCase.

def _run_selftest(self, **kwargs):
Undocumented
API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.