← Back to team overview

launchpad-dev team mailing list archive

Re: Lighter tests with FakeLibrarian

 

On 2010-08-25 02:28, Aaron Bentley wrote:
On 08/24/2010 03:07 PM, Robert Collins wrote:

It would be nice to be able to use
self.installFixture(FakeLibrarian())

Nah, it would be nice to be able to use

self.useContext(FakeLibrarian())

Patches welcome!

Just know that the test may want to access the fake librarian directly in order to pretendCommit.


Jeroen



References