class_docstr: Test class for the AliyunApp
class_docstr_tok: ["Test","class","for","the","AliyunApp"]
docstr: AliyunApp - Region Validation, Failure
docstr_tok: ["AliyunApp","-","Region","Validation",",","Failure"]
code: def test_region_validator_failure(self):
      """AliyunApp - Region Validation, Failure"""
      validation_function = self._app.required_auth_info()["region_id"][
          "format"
      ]
      assert_equal(validation_function("ap-northeast"), False)
  
imports: import json
  import os
  from mock import patch
  from moto import mock_ssm
  from nose.tools import assert_count_equal, assert_equal, assert_false, assert_true, raises
  from aliyunsdkcore.acs_exception.exceptions import ServerException
  from streamalert.apps._apps.aliyun import AliyunApp
  from tests.unit.streamalert.apps.test_helpers import get_event, put_mock_params
  from tests.unit.streamalert.shared.test_config import get_mock_lambda_context
label_desc: Use image node_id 6 for calling the TestAliyunApp obj's underlying member method code with example usage: obj.test_region_validator_failure() without return types