#NEWLINE# @ testing . gen_test #NEWLINE# def test_connection_error_raised_on_write_post_kill( self ) : #NEWLINE# #INDENT# result = ( yield self . client . set ( 'foo' , 'bar' , 10 ) ) #NEWLINE# self . assertTrue ( result ) #NEWLINE# result = ( yield self . _kill_client ( self . client ) ) #NEWLINE# self . assertTrue ( result ) #NEWLINE# with self . assertRaises ( exceptions . ConnectionError ) : #NEWLINE# #INDENT# ( yield self . client . get ( 'foo' ) )