#NEWLINE# def test_delete( self ) : #NEWLINE# #INDENT# for instance in self . instances : #NEWLINE# #INDENT# instance . save ( ) #NEWLINE# #UNINDENT# for instance in self . TestModel . find ( ) : #NEWLINE# #INDENT# instance . delete ( ) #NEWLINE# #UNINDENT# instances = list ( self . TestModel . find ( ) ) #NEWLINE# self . assertEqual ( instances , [ ] )