mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Fixed #21977 -- Deprecated SimpleTestCase.urls
This commit is contained in:
committed by
Tim Graham
parent
d2f4553d70
commit
cd914e31c9
@@ -1070,10 +1070,10 @@ class NewFormsTests(TestCase):
|
||||
|
||||
|
||||
@override_settings(DATETIME_FORMAT='c', TIME_ZONE='Africa/Nairobi', USE_L10N=False, USE_TZ=True,
|
||||
PASSWORD_HASHERS=('django.contrib.auth.hashers.SHA1PasswordHasher',))
|
||||
PASSWORD_HASHERS=('django.contrib.auth.hashers.SHA1PasswordHasher',),
|
||||
ROOT_URLCONF='timezones.urls')
|
||||
class AdminTests(TestCase):
|
||||
|
||||
urls = 'timezones.urls'
|
||||
fixtures = ['tz_users.xml']
|
||||
|
||||
def setUp(self):
|
||||
|
||||
Reference in New Issue
Block a user