1
0
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:
Tim Graham
2018-11-26 14:05:02 -05:00
parent f091ea3515
commit 193c109327
37 changed files with 130 additions and 134 deletions

View File

@@ -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()