class_docstr: Integration tests ensuring supported models are correctly exported.
class_docstr_tok: ["Integration","tests","ensuring","supported","models","are","correctly","exported","."]
code: def test_trust_remote_code(self):
      with TemporaryDirectory() as tmpdirname:
          out = subprocess.run(
              f"python3 -m optimum.exporters.tflite --model fxmarty/tiny-testing-gpt2-remote-code --task text-generation {tmpdirname}",
              shell=True,
              capture_output=True,
          )
          self.assertTrue(out.returncode, 1)
          self.assertTrue(
              "requires you to execute the modeling file in that repo"
              in out.stderr.decode("utf-8")
          )
  
      with TemporaryDirectory() as tmpdirname:
          out = subprocess.run(
              f"python3 -m optimum.exporters.tflite --trust-remote-code --model fxmarty/tiny-testing-gpt2-remote-code --task text-generation {tmpdirname}",
              shell=True,
              check=True,
          )
  
imports: import unittest
  from tempfile import TemporaryDirectory
  from typing import TYPE_CHECKING, Dict, Optional
  import pytest
  from parameterized import parameterized
  from transformers import AutoConfig, is_tf_available
  from transformers.testing_utils import require_tf
  from optimum.utils import DEFAULT_DUMMY_SHAPES
  from ...utils.test_task_processors import TASK_TO_NON_DEFAULT_DATASET
  from ..exporters_utils import PYTORCH_EXPORT_MODELS_TINY
  import subprocess
label_desc: Use image node_id 10 for calling the TFLiteCLIExportTestCase obj's underlying member method code with example usage: obj.test_trust_remote_code() without return types