@patch.object(hub.HubController, 'is_running')
    def test_shutdown(self, mock_method):
        mock_method.return_value = True
        shell.main(['shutdown'])
Position
dataset/ETHPy150Open brady-vitrano/dsgrid/dsgrid/tests/test_shell.py/TestShell.test_shutdown