ó måOc@sİdZddlZddlZddlmZmZddlmZmZddl m Z d„Z dej fd„ƒYZ ed krÙejejd ƒjƒdd lmZeje ejd ƒƒejƒndS( s® Main program for the child process run by L{twisted.test.test_stdio.StandardInputOutputTestCase.test_consumer} to test that process transports implement IConsumer properly. iÿÿÿÿN(tlogtreflect(tstdiotprotocol(tbasiccCs!tjtjƒtj|ƒdS(N(Rt startLoggingtsyststderrterr(R((sD/usr/lib/python2.7/dist-packages/twisted/test/stdio_test_consumer.pytfailedst ConsumerChildcBs#eZd„Zd„Zd„ZRS(cCs ||_dS(N(tjunkPath(tselfR ((sD/usr/lib/python2.7/dist-packages/twisted/test/stdio_test_consumer.pyt__init__scsKtjƒjtˆjƒˆjƒ}|jtƒ|j‡fd†ƒdS(Ncs ˆjjƒS(N(t transporttloseConnection(tign(R (sD/usr/lib/python2.7/dist-packages/twisted/test/stdio_test_consumer.pyts( Rt FileSendertbeginFileTransfertfileR Rt addErrbackR t addCallback(R td((R sD/usr/lib/python2.7/dist-packages/twisted/test/stdio_test_consumer.pytconnectionMades$ cCstjƒdS(N(treactortstop(R treason((sD/usr/lib/python2.7/dist-packages/twisted/test/stdio_test_consumer.pytconnectionLosts(t__name__t __module__R RR(((sD/usr/lib/python2.7/dist-packages/twisted/test/stdio_test_consumer.pyR s  t__main__i(Ri(t__doc__Rt _preamblettwisted.pythonRRttwisted.internetRRttwisted.protocolsRR tProtocolR RtnamedAnytargvtinstallRt StandardIOtrun(((sD/usr/lib/python2.7/dist-packages/twisted/test/stdio_test_consumer.pyt s