1
0
mirror of https://github.com/django/django.git synced 2025-10-26 07:06:08 +00:00

Refactored skipIfCustomUser into the contrib.auth tests.

This commit is contained in:
Russell Keith-Magee
2012-09-16 13:52:47 +08:00
parent 52a02f1110
commit b550a6d06d
14 changed files with 34 additions and 23 deletions

View File

@@ -4,9 +4,10 @@ import os
from django.contrib.auth.models import User
from django.contrib.auth.forms import (UserCreationForm, AuthenticationForm,
PasswordChangeForm, SetPasswordForm, UserChangeForm, PasswordResetForm)
from django.contrib.auth.tests.utils import skipIfCustomUser
from django.core import mail
from django.forms.fields import Field, EmailField
from django.test import TestCase, skipIfCustomUser
from django.test import TestCase
from django.test.utils import override_settings
from django.utils.encoding import force_text
from django.utils import translation