#NEWLINE# def setUp( self ) : #NEWLINE# #INDENT# self . realChunkSize = sigma . CHUNK_SIZE #NEWLINE# sigma . CHUNK_SIZE = 100 #NEWLINE# svc = self . service = FakeQ2QService ( ) #NEWLINE# fname = self . mktemp ( ) #NEWLINE# sf = self . sfile = FilePath ( fname ) #NEWLINE# if ( not sf . parent ( ) . isdir ( ) ) : #NEWLINE# #INDENT# sf . parent ( ) . makedirs ( ) #NEWLINE# #UNINDENT# sf . open ( 'w' ) . write ( TEST_DATA ) #NEWLINE# self . senderNexus = sigma . Nexus ( svc , sender , sigma . BaseNexusUI ( self . mktemp ( ) ) , svc . callLater )