#NEWLINE# def test_check_delete( self ) : #NEWLINE# #INDENT# ent = mgr . entity #NEWLINE# chk = self . check #NEWLINE# mgr = chk . manager #NEWLINE# mgr . delete = Mock ( ) #NEWLINE# chk . delete ( ) #NEWLINE# mgr . delete . assert_called_once_with ( chk )