We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent acafff5 commit cc572a2Copy full SHA for cc572a2
tests/test_task.py
@@ -1,4 +1,5 @@
1
import io
2
+import socket
3
import unittest
4
5
@@ -804,6 +805,7 @@ def test_get_environment_values(self):
804
805
"SERVER_PROTOCOL",
806
"SERVER_SOFTWARE",
807
"waitress.client_disconnected",
808
+ "waitress.socket",
809
"wsgi.errors",
810
"wsgi.file_wrapper",
811
"wsgi.input",
@@ -960,6 +962,7 @@ class DummyChannel:
960
962
adj = DummyAdj()
961
963
creation_time = 0
964
addr = ("127.0.0.1", 39830)
965
+ socket = socket.socket()
966
967
def check_client_disconnected(self):
968
# For now, until we have tests handling this feature
0 commit comments