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

Method setUp

tests/test_group_resize.py:29–36  ·  view source on GitHub ↗

Set up test fixtures.

(self)

Source from the content-addressed store, hash-verified

27 """Test Group resize functionality including handles and membership management."""
28
29 def setUp(self):
30 """Set up test fixtures."""
31 self.group = Group("Test Group", ["node1", "node2"])
32 self.group.width = 200
33 self.group.height = 150
34 self.group.setPos(100, 100)
35 self.group.setRect(0, 0, self.group.width, self.group.height)
36 self.mock_scene = Mock()
37
38 def test_handle_detection(self):
39 """Test resize handle detection at various positions."""

Callers

nothing calls this directly

Calls 1

GroupClass · 0.90

Tested by

no test coverage detected