#NEWLINE# def test_QOTD( self ) : #NEWLINE# #INDENT# '\n        Test wire.QOTD protocol.\n        ' #NEWLINE# t = proto_helpers . StringTransport ( ) #NEWLINE# a = wire . QOTD ( ) #NEWLINE# a . makeConnection ( t ) #NEWLINE# self . assertEqual ( t . value ( ) , 'An apple a day keeps the doctor away.\r\n' )