1
0
mirror of https://github.com/django/django.git synced 2025-10-23 21:59:11 +00:00

Refs #24652 -- Used SimpleTestCase where appropriate.

This commit is contained in:
Simon Charette
2015-04-17 17:38:20 -04:00
parent e2b77acedd
commit be67400b47
93 changed files with 362 additions and 340 deletions

View File

@@ -6,7 +6,7 @@ import unittest
from django.core.exceptions import ImproperlyConfigured
from django.core.urlresolvers import resolve
from django.http import HttpResponse
from django.test import RequestFactory, TestCase, override_settings
from django.test import RequestFactory, SimpleTestCase, override_settings
from django.test.utils import require_jinja2
from django.views.generic import RedirectView, TemplateView, View
@@ -241,7 +241,7 @@ class ViewTest(unittest.TestCase):
@override_settings(ROOT_URLCONF='generic_views.urls')
class TemplateViewTest(TestCase):
class TemplateViewTest(SimpleTestCase):
rf = RequestFactory()
@@ -352,7 +352,7 @@ class TemplateViewTest(TestCase):
@override_settings(ROOT_URLCONF='generic_views.urls')
class RedirectViewTest(TestCase):
class RedirectViewTest(SimpleTestCase):
rf = RequestFactory()