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
_______________________________________________
Mailing list: https://launchpad.net/~launchpad-dev
Post to : [email protected]
Unsubscribe : https://launchpad.net/~launchpad-dev
More help : https://help.launchpad.net/ListHelp