mirror of
https://github.com/django/django.git
synced 2025-10-24 22:26:08 +00:00
Refs #24652 -- Used SimpleTestCase where appropriate.
This commit is contained in:
@@ -5,7 +5,7 @@ from django.contrib.auth.context_processors import PermLookupDict, PermWrapper
|
||||
from django.contrib.auth.models import Permission, User
|
||||
from django.contrib.contenttypes.models import ContentType
|
||||
from django.db.models import Q
|
||||
from django.test import TestCase, override_settings
|
||||
from django.test import SimpleTestCase, TestCase, override_settings
|
||||
|
||||
from .settings import AUTH_MIDDLEWARE_CLASSES, AUTH_TEMPLATES
|
||||
|
||||
@@ -22,7 +22,7 @@ class MockUser(object):
|
||||
return False
|
||||
|
||||
|
||||
class PermWrapperTests(TestCase):
|
||||
class PermWrapperTests(SimpleTestCase):
|
||||
"""
|
||||
Test some details of the PermWrapper implementation.
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user