Comment 1 for bug 321320

Revision history for this message
Andrew Bennetts (spiv) wrote : Re: bzrlib.branchbuilder tests run GPG (not isolated enough)

A good fix would probably be to change the way we construct DocTestSuite. We could pass setUp and tearDown params to its constructor to do the same sort of setUp and tearDown as we do in normal TestCases. In particular do the isolation of the test environment from the user's normal day-to-day environment.

(It might be neat to also provide an addCleanup facility in the globs param, too, but that's a separate issue.)