MCPcopy Create free account
hub / github.com/bhowiebkr/PyFlowGraph / setUp

Method setUp

tests/test_group_data_flow.py:22–31  ·  view source on GitHub ↗

Set up test fixtures.

(self)

Source from the content-addressed store, hash-verified

20 """Test data flow through group interface pins."""
21
22 def setUp(self):
23 """Set up test fixtures."""
24 self.mock_node_graph = Mock()
25 self.mock_node_graph.nodes = []
26 self.router = GroupConnectionRouter(self.mock_node_graph)
27
28 # Create a mock group
29 self.mock_group = Mock()
30 self.mock_group.uuid = "test_group"
31 self.mock_group.member_node_uuids = ["node1", "node2"]
32
33 def create_mock_pin(self, pin_uuid, pin_type="int", pin_category="data", node_uuid="node1"):
34 """Create a mock pin for testing."""

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected