testtools-dev team mailing list archive
-
testtools-dev team
-
Mailing list archive
-
Message #00550
Re: [Merge] lp:~jml/testtools/more-content-convenience into lp:testtools
I couldn't make the code look better by using fixtures. They just made it more cumbersome.
I've changed the classmethods to be functions (although I still think it looks uglier), and I've changed attachFile to be a standalone function too. I still think TestCase would benefit from a convenience method, but this is still a net improvement.
--
https://code.launchpad.net/~jml/testtools/more-content-convenience/+merge/44870
Your team testtools developers is requested to review the proposed merge of lp:~jml/testtools/more-content-convenience into lp:testtools.
References