MCPcopy Create free account
hub / github.com/Integuru-AI/Integuru / setUp

Method setUp

tests/test_integration_agent.py:8–20  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

6class TestIntegrationAgent(unittest.TestCase):
7
8 def setUp(self):
9 self.prompt = "Test prompt"
10 self.har_file_path = "test.har"
11 self.cookie_path = "test_cookies.json"
12 self.agent = IntegrationAgent(self.prompt, self.har_file_path, self.cookie_path)
13 self.state = AgentState(
14 master_node=None,
15 in_process_node=None,
16 to_be_processed_nodes=[],
17 in_process_node_dynamic_parts=[],
18 action_url="",
19 input_variables={}
20 )
21
22 @patch('integuru.agent.llm.get_instance')
23 def test_end_url_identify_agent(self, mock_llm_instance):

Callers

nothing calls this directly

Calls 2

IntegrationAgentClass · 0.90
AgentStateClass · 0.90

Tested by

no test coverage detected