#NEWLINE# @ test . idempotent_id ( '68a94a14-1243-46e6-83bf-157627e31556' ) #NEWLINE# def test_update_agent_description( self ) : #NEWLINE# #INDENT# self . useFixture ( tempest_fixtures . LockFixture ( 'agent_description' ) ) #NEWLINE# description = 'description for update agent.' #NEWLINE# agent_description = { #NEWLINE# #INDENT# 'description' : description , #NEWLINE# #UNINDENT# } #NEWLINE# body = self . admin_client . update_agent ( agent_id = self . dyn_agent [ 'id' ] , agent_info = agent_description ) #NEWLINE# self . addCleanup ( self . _restore_agent ) #NEWLINE# updated_description = body [ 'agent' ] [ 'description' ] #NEWLINE# self . assertEqual ( updated_description , description )