Set up test fixtures.
(self)
| 421 | """Test that performance requirements (NFR1-NFR3) are met.""" |
| 422 | |
| 423 | def setUp(self): |
| 424 | """Set up test fixtures.""" |
| 425 | if not QApplication.instance(): |
| 426 | self.app = QApplication([]) |
| 427 | else: |
| 428 | self.app = QApplication.instance() |
| 429 | |
| 430 | self.node_graph = NodeGraph() |
| 431 | |
| 432 | def tearDown(self): |
| 433 | """Clean up after tests.""" |