code: def test_image_uri_is_not_in_the_expected_region(self):
      with self.assertRaises(ValueError) as context:
          return NotebookJobStep(
              name=STEP_NAME,
              display_name=DISPLAY_NAME,
              description=DESCRIPTION,
              notebook_job_name=NOTEBOOK_JOB_NAME,
              input_notebook=INPUT_NOTEBOOK,
              image_uri="236514542706.dkr.ecr.us-east-9.amazonaws.com/sagemaker-data-science",
              kernel_name=KERNEL_NAME,
          ).arguments
  
      self.assertTrue(
          "The image uri(specified as 236514542706.dkr.ecr.us-east-9.amazonaws.com/"
          "sagemaker-data-science) is required and should be hosted in "
          "same region of the session(us-west-2)."
          in str(context.exception)
      )
  
imports: from __future__ import absolute_import
  import unittest
  from mock import Mock, patch
  from sagemaker.workflow.notebook_job_step import NotebookJobStep
  from sagemaker.workflow.functions import Join
label_desc: Use image node_id 6 for calling the TestNotebookJobStep obj's underlying member method code with example usage: obj.test_image_uri_is_not_in_the_expected_region() and returns: NotebookJobStep