[PATCH/RFC v2] Provide basic test fixture through inheritance
Dirk Wallenstein
halsmit at t-online.de
Sat Apr 2 04:48:04 EST 2011
On Fri, Apr 01, 2011 at 07:07:03PM +0200, Dirk Wallenstein wrote:
> Provide project and user objects for test cases through inheritance.
> Just derive from BaseFixtureTestCase instead of the normal TestCase.
> The provided objects are accessible as attributes.
>
> Signed-off-by: Dirk Wallenstein <halsmit at t-online.de>
> ---
>
> With my new installation I've had errors if the user or user-profile
> objects don't have consecutive "pk" starting at 1. That's the only
> change.
Argh, wrong patch.
--
Cheers,
Dirk
More information about the Patchwork
mailing list