#NEWLINE# @ classmethod #NEWLINE# @ test . requires_ext ( extension = 'agent' , service = 'network' ) #NEWLINE# def resource_setup( cls ) : #NEWLINE# #INDENT# super ( AgentManagementTestJSON , cls ) . resource_setup ( ) #NEWLINE# body = cls . admin_client . list_agents ( ) #NEWLINE# agents = body [ 'agents' ] #NEWLINE# cls . agent = agents [ 0 ] #NEWLINE# cls . dyn_agent = agents [ 1 ]