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 - Can't rollback a function at version 1
docstr_tok: ["CLI","-","Ca","n't","rollback","a","function","at","version","1"]
code: def test_rollback_production_one(self, mock_logger):
      """CLI - Can't rollback a function at version 1"""
      mock_client = mock.MagicMock()
      mock_client.get_alias.return_value = {"FunctionVersion": "1"}
  
      rollback._rollback_production(mock_client, "test_function")
  
      mock_logger.warning.assert_called_once()
      mock_client.update_alias.assert_not_called()
  
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 2 for calling the RollbackTest obj's underlying member method code with example usage: obj.test_rollback_production_one(mock_logger) without return types