#NEWLINE# def test_check_mgr_delete_check( self ) : #NEWLINE# #INDENT# ent = self . entity #NEWLINE# mgr = ent . _check_manager #NEWLINE# id_ = utils . random_unicode ( ) #NEWLINE# mgr . api . method_delete = Mock ( return_value = ( None , None ) ) #NEWLINE# ret = mgr . delete ( id_ ) #NEWLINE# exp_uri = ( '/%s/%s' % ( mgr . uri_base , ret ) ) #NEWLINE# mgr . api . method_delete . assert_called_once_with ( exp_uri )