mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Switched TestCase to SimpleTestCase where possible in Django's tests.
This commit is contained in:
@@ -7,7 +7,7 @@ from django.contrib.auth.mixins import (
|
||||
from django.contrib.auth.models import AnonymousUser
|
||||
from django.core.exceptions import PermissionDenied
|
||||
from django.http import HttpResponse
|
||||
from django.test import RequestFactory, TestCase
|
||||
from django.test import RequestFactory, SimpleTestCase, TestCase
|
||||
from django.views.generic import View
|
||||
|
||||
|
||||
@@ -111,7 +111,7 @@ class AccessMixinTests(TestCase):
|
||||
view(request)
|
||||
|
||||
|
||||
class UserPassesTestTests(TestCase):
|
||||
class UserPassesTestTests(SimpleTestCase):
|
||||
|
||||
factory = RequestFactory()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user