#NEWLINE# def testOneSenderOneRecipient( self ) : #NEWLINE# #INDENT# self . senderNexus . push ( self . sfile , 'TESTtoTEST' , [ receiver ] ) #NEWLINE# self . service . flush ( ) #NEWLINE# peerThingyoes = childrenOf ( self . receiverNexus . ui . basepath ) #NEWLINE# self . assertEquals ( len ( peerThingyoes ) , 1 ) #NEWLINE# rfiles = childrenOf ( peerThingyoes [ 0 ] ) #NEWLINE# self . assertEquals ( len ( rfiles ) , 1 ) #NEWLINE# rfile = rfiles [ 0 ] #NEWLINE# rfdata = rfile . open ( ) . read ( ) #NEWLINE# self . assertEquals ( len ( rfdata ) , len ( TEST_DATA ) ) #NEWLINE# self . assertEquals ( rfdata , TEST_DATA , 'file values unequal' )