예제 #1
0
 def test_stop_broker(self):
     _command = "kafka-server-stop.sh path/to/config"
     Kafka.stop_broker(path_to_config="path/to/config", executor=mock_executor(expected_command=_command))