duck.tests.test_socket_io¶
Tests for HTTP request framing over Duck sockets.
Module Contents¶
Classes¶
Verifies that requests without a body delimiter complete at their headers. |
Data¶
API¶
- duck.tests.test_socket_io.EMPTY_GET_REQUEST¶
b’GET / HTTP/1.1\r\nHost: localhost\r\n\r\n’
- class duck.tests.test_socket_io.TestSocketIORequestFraming(methodName='runTest')[source]¶
Bases:
unittest.TestCaseVerifies that requests without a body delimiter complete at their headers.
Initialization
Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.