MCPcopy Create free account
hub / github.com/ScrapeGraphAI/Scrapegraph-ai / DummyGraph

Class DummyGraph

tests/test_script_creator_multi_graph.py:17–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15
16# Dummy classes to simulate behavior for testing
17class DummyGraph:
18 def __init__(self, final_state, execution_info):
19 self.final_state = final_state
20 self.execution_info = execution_info
21
22 def execute(self, inputs):
23 return self.final_state, self.execution_info
24
25
26class DummySchema(BaseModel):

Callers 5

test_run_successMethod · 0.70
test_run_failureMethod · 0.70
test_run_no_schemaMethod · 0.70
test_run_called_twiceMethod · 0.70

Calls

no outgoing calls

Tested by 5

test_run_successMethod · 0.56
test_run_failureMethod · 0.56
test_run_no_schemaMethod · 0.56
test_run_called_twiceMethod · 0.56