#NEWLINE# def test_noResponseAtAll( self ) : #NEWLINE# #INDENT# '\n        If no response at all was received and the connection is lost, the\n        resulting error is L{ResponseNeverReceived}.\n        ' #NEWLINE# protocol = HTTPClientParser ( Request ( b'HEAD' , b'/' , _boringHeaders , None ) , ( lambda ign : None ) ) #NEWLINE# d = protocol . _responseDeferred #NEWLINE# protocol . makeConnection ( StringTransport ( ) ) #NEWLINE# protocol . connectionLost ( ConnectionLost ( ) ) #NEWLINE# return self . assertFailure ( d , ResponseNeverReceived )