← Back to team overview

launchpad-dev team mailing list archive

Re: Lighter tests with FakeLibrarian

 

On 2010-09-11 15:16, Robert Collins wrote:
I just ran into another difference between fixtures and context
managers while evaluating a feature request from James Westby.
Thanks for bringing this up.  The FakeLibrarian is a proper fixture 
nowadays:

class TestMe(TestCase):
    def setUp(self):
        super(TestMe, self).setUp()
        self.fake_librarian = self.installFixture(FakeLibrarian())


Jeroen



References