#NEWLINE# def test_process_change_with_deleted_document( self ) : #NEWLINE# #INDENT# self . obj . put_attachment ( 'content' , 'name' ) #NEWLINE# change = Config ( id = self . obj . _id , deleted = True ) #NEWLINE# self . processor . process_change ( None , self , None ) #NEWLINE# msg = "FakeCouchDocument attachment: 'name'" #NEWLINE# with assert_raises ( ResourceNotFound , msg = msg ) : #NEWLINE# #INDENT# self . obj . fetch_attachment ( 'name' )