Searched refs:MockConn (Results 1 – 8 of 8) sorted by relevance
173 request = mock.MockRequest(connection=mock.MockConn('\xff\x00'))181 request = mock.MockRequest(connection=mock.MockConn('\xff\x00'))189 request = mock.MockRequest(connection=mock.MockConn('\xff\x00'))197 request = mock.MockRequest(connection=mock.MockConn('\xff\x00'))209 request = mock.MockRequest(connection=mock.MockConn(''))222 request = mock.MockRequest(connection=mock.MockConn(''))
49 self._conn = mock.MockConn('ABC\r\nDEFG\r\n\r\nHIJK')
63 class MockConn(_MockConnBase): class
369 conn = mock.MockConn('')
320 conn = mock.MockConn(data)
71 conn = mock.MockConn('')
83 req = mock.MockRequest(connection=mock.MockConn(''.join(read_data)))133 req = mock.MockRequest(connection=mock.MockConn(read_data))