mirror of
https://github.com/django/django.git
synced 2025-10-23 21:59:11 +00:00
Fixed #21977 -- Deprecated SimpleTestCase.urls
This commit is contained in:
committed by
Tim Graham
parent
d2f4553d70
commit
cd914e31c9
@@ -12,8 +12,8 @@ from django.test.client import RequestFactory
|
||||
from django.utils import six
|
||||
|
||||
|
||||
@override_settings(ROOT_URLCONF="wsgi.urls")
|
||||
class WSGITest(TestCase):
|
||||
urls = "wsgi.urls"
|
||||
|
||||
def setUp(self):
|
||||
request_started.disconnect(close_old_connections)
|
||||
|
||||
Reference in New Issue
Block a user