def METHOD_NAME():
    fake_container_id = "fake_container_id"
    fake_timeout = 3
    with mock.patch(
        "paasta_tools.paasta_execute_docker_command.get_container_id_for_mesos_id",
        return_value=fake_container_id,
        autospec=True,
    ), mock.patch(
        "paasta_tools.paasta_execute_docker_command.parse_args", autospec=True
    ) as args_patch, mock.patch(
        "paasta_tools.paasta_execute_docker_command.execute_in_container",
        return_value=("fake_output", 0),
        autospec=True,
    ), mock.patch(
        "paasta_tools.paasta_execute_docker_command.time_limit", autospec=True
    ):
        args_patch.return_value.mesos_id = ""
        args_patch.return_value.timeout = fake_timeout
        with pytest.raises(SystemExit) as excinfo:
            main()
        assert excinfo.value.code == 2