Set up test fixtures.
(self)
| 363 | """Test command integration with NodeGraph.""" |
| 364 | |
| 365 | def setUp(self): |
| 366 | """Set up test fixtures.""" |
| 367 | if not QApplication.instance(): |
| 368 | self.app = QApplication([]) |
| 369 | else: |
| 370 | self.app = QApplication.instance() |
| 371 | |
| 372 | self.node_graph = NodeGraph() |
| 373 | |
| 374 | def tearDown(self): |
| 375 | """Clean up after tests.""" |