Test help command.
(self)
| 453 | """Tests for help command.""" |
| 454 | |
| 455 | def test_help(self): |
| 456 | """Test help command.""" |
| 457 | arbiter = MockArbiter() |
| 458 | handlers = CommandHandlers(arbiter) |
| 459 | |
| 460 | result = handlers.help() |
| 461 | |
| 462 | assert "commands" in result |
| 463 | commands = result["commands"] |
| 464 | assert "show all" in commands |
| 465 | assert "show workers" in commands |
| 466 | assert "worker add [N]" in commands |
| 467 | assert "reload" in commands |
| 468 | assert "shutdown [graceful|quick]" in commands |
nothing calls this directly
no test coverage detected