summaryrefslogtreecommitdiff
path: root/tests/servers
diff options
context:
space:
mode:
authorJacob Walls <jacobtylerwalls@gmail.com>2021-10-25 01:42:06 -0400
committerGitHub <noreply@github.com>2021-10-25 07:42:06 +0200
commit1feb55d60736011ee94fbff9ba0c1c25acfd0b14 (patch)
tree29982a2c7afc8ee6832039b7a040d8e3b5e094f3 /tests/servers
parent551c997feaaa293987af8b05efc3634b93305fac (diff)
downloaddjango-1feb55d60736011ee94fbff9ba0c1c25acfd0b14.tar.gz
Fixed typo in tests/servers/tests.py.
Diffstat (limited to 'tests/servers')
-rw-r--r--tests/servers/tests.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/servers/tests.py b/tests/servers/tests.py
index 8f21f85918..cea25b9920 100644
--- a/tests/servers/tests.py
+++ b/tests/servers/tests.py
@@ -278,7 +278,7 @@ class LiveServerViews(LiveServerBase):
@override_settings(ROOT_URLCONF='servers.urls')
-class SingleTreadLiveServerViews(SingleThreadLiveServerTestCase):
+class SingleThreadLiveServerViews(SingleThreadLiveServerTestCase):
available_apps = ['servers']
def test_closes_connection_with_content_length(self):
@@ -288,8 +288,8 @@ class SingleTreadLiveServerViews(SingleThreadLiveServerTestCase):
Persistent connections require threading server.
"""
conn = HTTPConnection(
- SingleTreadLiveServerViews.server_thread.host,
- SingleTreadLiveServerViews.server_thread.port,
+ SingleThreadLiveServerViews.server_thread.host,
+ SingleThreadLiveServerViews.server_thread.port,
timeout=1,
)
try: