code: def test_is_not_training_job(mocked_open):
      mocked_open.side_effect = FileNotFoundError()
  
      assert EnvironmentHelper().is_training_job() is False
  
file_path: sagemaker-python-sdk/tests/unit/sagemaker/feature_store/feature_processor/test_env.py
imports: from __future__ import absolute_import
  import json
  from mock import mock_open, patch
  import pytest
  from sagemaker.feature_store.feature_processor._env import EnvironmentHelper
label_desc: Use image node_id 2 for calling a global function with example usage: test_is_not_training_job(mocked_open) without return types