MCPcopy Index your code
hub / github.com/bhowiebkr/PyFlowGraph / setUp

Method setUp

tests/test_command_system.py:216–225  ·  view source on GitHub ↗

Set up test fixtures.

(self)

Source from the content-addressed store, hash-verified

214 """Test node-specific commands."""
215
216 def setUp(self):
217 """Set up test fixtures."""
218 # Create QApplication if it doesn't exist
219 if not QApplication.instance():
220 self.app = QApplication([])
221 else:
222 self.app = QApplication.instance()
223
224 self.node_graph = NodeGraph()
225 self.test_position = QPointF(100, 100)
226
227 def tearDown(self):
228 """Clean up after tests."""

Callers

nothing calls this directly

Calls 1

NodeGraphClass · 0.90

Tested by

no test coverage detected