Writing tests for a custom auth

2014-10-10 Thread Valery Melou
Hi everybody. I'm creating a custom auth user model to remove 'first_name' and 'last_name' attributes from the default one and to make the 'email' field required and unique. I would like to know which tests I'm supposed to write to make sure that my model support each feature of the default one.

Re: Writing tests for a custom auth

2014-10-11 Thread Valery Melou
r model app that others can fork and modify as required would be > one way for Django to distribute an integration test suite. > > Yours, > Russ Magee %-) > > On Fri, Oct 10, 2014 at 4:24 PM, Valery Melou > wrote: > >> Hi everybody. >> I'm creating a custom