mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Ensured tests pass using custom PASSWORD_HASHERS.
This commit is contained in:
@@ -3,10 +3,12 @@ from __future__ import absolute_import
|
||||
from django.core.urlresolvers import reverse
|
||||
from django.template.response import TemplateResponse
|
||||
from django.test import TestCase
|
||||
from django.test.utils import override_settings
|
||||
|
||||
from .models import Action
|
||||
|
||||
|
||||
@override_settings(PASSWORD_HASHERS=('django.contrib.auth.hashers.SHA1PasswordHasher',))
|
||||
class AdminCustomUrlsTest(TestCase):
|
||||
fixtures = ['users.json', 'actions.json']
|
||||
|
||||
|
||||
Reference in New Issue
Block a user