mirror of
https://github.com/django/django.git
synced 2025-02-12 18:36:41 +00:00
Fixed typo in tests/servers/tests.py.
This commit is contained in:
parent
551c997fea
commit
1feb55d607
@ -278,7 +278,7 @@ class LiveServerViews(LiveServerBase):
|
|||||||
|
|
||||||
|
|
||||||
@override_settings(ROOT_URLCONF='servers.urls')
|
@override_settings(ROOT_URLCONF='servers.urls')
|
||||||
class SingleTreadLiveServerViews(SingleThreadLiveServerTestCase):
|
class SingleThreadLiveServerViews(SingleThreadLiveServerTestCase):
|
||||||
available_apps = ['servers']
|
available_apps = ['servers']
|
||||||
|
|
||||||
def test_closes_connection_with_content_length(self):
|
def test_closes_connection_with_content_length(self):
|
||||||
@ -288,8 +288,8 @@ class SingleTreadLiveServerViews(SingleThreadLiveServerTestCase):
|
|||||||
Persistent connections require threading server.
|
Persistent connections require threading server.
|
||||||
"""
|
"""
|
||||||
conn = HTTPConnection(
|
conn = HTTPConnection(
|
||||||
SingleTreadLiveServerViews.server_thread.host,
|
SingleThreadLiveServerViews.server_thread.host,
|
||||||
SingleTreadLiveServerViews.server_thread.port,
|
SingleThreadLiveServerViews.server_thread.port,
|
||||||
timeout=1,
|
timeout=1,
|
||||||
)
|
)
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user