

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

dataset/ETHPy150Open twisted/twisted/twisted/test/test_protocols.py WireTests.test_QOTD/VarMisuse@35/59 `self`->`a`