(self)
| 448 | assert 'leaked' not in info |
| 449 | |
| 450 | def test_stats(self): |
| 451 | prev_count, worker_state.total_count = worker_state.total_count, 100 |
| 452 | try: |
| 453 | assert self.panel.handle('stats')['total'] == 100 |
| 454 | finally: |
| 455 | worker_state.total_count = prev_count |
| 456 | |
| 457 | def test_report(self): |
| 458 | self.panel.handle('report') |