#NEWLINE# def test_check_mgr_update_check_failed_validation_other( self ) : #NEWLINE# #INDENT# ent = self . entity #NEWLINE# mgr = ent . _check_manager #NEWLINE# chk = self . check #NEWLINE# err = exc . BadRequest ( 400 ) #NEWLINE# err . message = 'Another error' #NEWLINE# err . details = 'Some details' #NEWLINE# mgr . api . method_put = Mock ( side_effect = err ) #NEWLINE# self . assertRaises ( exc . BadRequest , mgr . update , chk , target_alias = 'fake' , monitoring_zones_poll = 'fake' )