Set up test fixtures.
(self)
| 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.""" |