#NEWLINE# def test_check( self ) : #NEWLINE# #INDENT# ent = self . entity #NEWLINE# clt = self . client #NEWLINE# mgr = clt . _entity_manager #NEWLINE# mgr . get = Mock ( return_value = ent ) #NEWLINE# id_ = utils . random_unicode ( ) #NEWLINE# chk = CloudMonitorCheck ( mgr , info = { #NEWLINE# #INDENT# 'id' : id_ , #NEWLINE# #UNINDENT# } , entity = 'fake' ) #NEWLINE# self . assertEqual ( chk . manager , mgr ) #NEWLINE# self . assertEqual ( chk . id , id_ ) #NEWLINE# self . assertEqual ( chk . entity , ent )