mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Refs #24652 -- Used SimpleTestCase where appropriate.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
from django.core.handlers.wsgi import WSGIRequest
|
||||
from django.core.servers.basehttp import WSGIRequestHandler
|
||||
from django.test import TestCase
|
||||
from django.test import SimpleTestCase
|
||||
from django.test.client import RequestFactory
|
||||
from django.test.utils import captured_stderr
|
||||
from django.utils.six import BytesIO
|
||||
@@ -11,7 +11,7 @@ class Stub(object):
|
||||
self.__dict__.update(kwargs)
|
||||
|
||||
|
||||
class WSGIRequestHandlerTestCase(TestCase):
|
||||
class WSGIRequestHandlerTestCase(SimpleTestCase):
|
||||
def test_https(self):
|
||||
request = WSGIRequest(RequestFactory().get('/').environ)
|
||||
request.makefile = lambda *args, **kwargs: BytesIO()
|
||||
|
||||
Reference in New Issue
Block a user