#NEWLINE# def _restore_agent( self ) : #NEWLINE# #INDENT# '\n        Restore the agent description after update test.\n        ' #NEWLINE# description = self . dyn_agent [ 'description' ] #NEWLINE# origin_agent = { #NEWLINE# #INDENT# 'description' : description , #NEWLINE# #UNINDENT# } #NEWLINE# self . admin_client . update_agent ( agent_id = self . dyn_agent [ 'id' ] , agent_info = origin_agent )