mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Fixed #21977 -- Deprecated SimpleTestCase.urls
This commit is contained in:
parent
d2f4553d70
commit
cd914e31c9
73 changed files with 337 additions and 295 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue