diff options
| author | Simon Charette <charette.s@gmail.com> | 2015-04-17 17:38:20 -0400 |
|---|---|---|
| committer | Simon Charette <charette.s@gmail.com> | 2015-05-20 13:46:13 -0400 |
| commit | be67400b477c1b0e7e81766f41bbceed0de74bdc (patch) | |
| tree | fd8e6d087082754df9159a5549bfa80e2a8c57d9 /tests/servers/test_basehttp.py | |
| parent | e2b77aceddbda9071fcfc38f90fb50d091d0b5fc (diff) | |
Refs #24652 -- Used SimpleTestCase where appropriate.
Diffstat (limited to 'tests/servers/test_basehttp.py')
| -rw-r--r-- | tests/servers/test_basehttp.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/servers/test_basehttp.py b/tests/servers/test_basehttp.py index 2f59b1358a..91dcaa17d9 100644 --- a/tests/servers/test_basehttp.py +++ b/tests/servers/test_basehttp.py @@ -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() |
