(self)
| 470 | ) |
| 471 | |
| 472 | def test_election(self): |
| 473 | self.app.control.election('some_id', 'topic', 'action') |
| 474 | self.assert_control_called_with_args( |
| 475 | 'election', |
| 476 | destination=None, |
| 477 | topic='topic', |
| 478 | action='action', |
| 479 | id='some_id', |
| 480 | _options={'connection': None}, |
| 481 | ) |
| 482 | |
| 483 | def test_autoscale(self): |
| 484 | self.app.control.autoscale(300, 10) |
nothing calls this directly
no test coverage detected