mirror of
https://github.com/django/django.git
synced 2025-10-28 16:16:12 +00:00
Refs #24652 -- Used SimpleTestCase where appropriate.
This commit is contained in:
@@ -19,7 +19,7 @@ from django.core.serializers.base import DeserializationError
|
||||
from django.core.serializers.xml_serializer import DTDForbidden
|
||||
from django.db import connection, models
|
||||
from django.http import HttpResponse
|
||||
from django.test import TestCase, skipUnlessDBFeature
|
||||
from django.test import SimpleTestCase, TestCase, skipUnlessDBFeature
|
||||
from django.utils import six
|
||||
from django.utils.functional import curry
|
||||
|
||||
@@ -584,7 +584,7 @@ for format in [f for f in serializers.get_serializer_formats()
|
||||
setattr(SerializerTests, 'test_' + format + '_serializer_stream', curry(streamTest, format))
|
||||
|
||||
|
||||
class XmlDeserializerSecurityTests(TestCase):
|
||||
class XmlDeserializerSecurityTests(SimpleTestCase):
|
||||
|
||||
def test_no_dtd(self):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user