Hi Valery,
You probably don't need to reproduce everything that is labeled
@skipIfCustomUser - those tests are the "core" tests to make sure the basic
auth mechanisms work as expected. The remaining tests are the ones that
exist to make sure that a couple of key patterns in custom Users work as
Thanks for your answer Russell.
I've been browsing the django.contrib.auth.test module and I was wondering
if I should just rewrite all tests marked @sikpIfCustomUser. If so, there
is a lot of work to do. Anyway I will start by checking those marked
Hi Valery,
We don't currently ship an integration test to validate your custom User
model, for two reasons:
1) The requirements for a User model depends on what features you're using
- the core requirements are listed in the docs, but depending on exactly
what you're doing with the User model,
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
4 matches
Mail list logo