class_docstr: Test the config updates and Terraform targets affected during a Lambda rollback.
class_docstr_tok: ["Test","the","config","updates","and","Terraform","targets","affected","during","a","Lambda","rollback","."]
docstr: CLI - Lambda rollback all
docstr_tok: ["CLI","-","Lambda","rollback","all"]
code: def test_rollback_all(self, mock_helper):
      """CLI - Lambda rollback all"""
      mock_helper.return_value = True
      funcs = [
          "alert",
          "alert_merger",
          "apps",
          "athena",
          "classifier",
          "rule",
          "rule_promo",
          "scheduled_queries",
          "threat_intel_downloader",
      ]
      assert_equal(
          rollback.RollbackCommand.handler(
              MockOptions(None, funcs),
              MockCLIConfig(config=basic_streamalert_config()),
          ),
          True,
      )
      mock_helper.assert_has_calls(
          [
              mock.call(
                  mock.ANY, "unit-test_streamalert_alert_processor"
              ),
              mock.call(mock.ANY, "unit-test_streamalert_alert_merger"),
              mock.call(
                  mock.ANY,
                  "unit-test_corp_box_admin_events_box_collector_app",
              ),
              mock.call(
                  mock.ANY,
                  "unit-test_corp_duo_admin_duo_admin_collector_app",
              ),
              mock.call(
                  mock.ANY, "unit-test_streamalert_athena_partitioner"
              ),
              mock.call(
                  mock.ANY, "unit-test_corp_streamalert_classifier"
              ),
              mock.call(
                  mock.ANY, "unit-test_prod_streamalert_classifier"
              ),
              mock.call(mock.ANY, "unit-test_streamalert_rules_engine"),
              mock.call(
                  mock.ANY, "unit-test_streamalert_rule_promotion"
              ),
              mock.call(
                  mock.ANY,
                  "unit-test_streamalert_scheduled_queries_runner",
              ),
              mock.call(
                  mock.ANY,
                  "unit-test_streamalert_threat_intel_downloader",
              ),
          ]
      )
  
file_path: streamalert/tests/unit/streamalert_cli/manage_lambda/test_rollback.py
imports: import unittest
  from botocore.exceptions import ClientError
  import mock
  from nose.tools import assert_equal
  from streamalert_cli.manage_lambda import rollback
  from tests.unit.helpers.config import basic_streamalert_config, MockCLIConfig
label_desc: Use image node_id 4 for calling the RollbackTest obj's underlying member method code with example usage: obj.test_rollback_all(mock_helper) without return types