code: def testTelemetry(self, mock_launcher_create):
      class _FakeLauncher:
          def __init__(self):
              self.recorded_labels = []
  
          def launch(self):
              self.recorded_labels = (
                  telemetry_utils.make_beam_labels_args()
              )
              return mock.MagicMock()
  
      class _FakeComponentSpec(types.ComponentSpec):
          PARAMETERS = {}
          INPUTS = {}
          OUTPUTS = {}
  
      class _FakeExecutor(base_executor.BaseExecutor):
          def Do(
              self,
              input_dict: Dict[str, List[types.Artifact]],
              output_dict: Dict[str, List[types.Artifact]],
              exec_properties: Dict[str, Any],
          ) -> None:
              pass
  
      class _FakeComponent(base_component.BaseComponent):
          SPEC_CLASS = _FakeComponentSpec
          EXECUTOR_SPEC = executor_spec.ExecutorClassSpec(_FakeExecutor)
  
          def __init__(self):
              super().__init__(spec=_FakeComponentSpec())
  
      # Set up fake on launcher.
      fake_launcher = _FakeLauncher()
      mock_launcher_create.side_effect = [fake_launcher]
      InProcessComponentLauncher.create = mock_launcher_create
  
      context = interactive_context.InteractiveContext()
      context.run(_FakeComponent())
      self.assertIn(
          "--labels tfx_runner=interactivecontext",
          " ".join(fake_launcher.recorded_labels),
      )
  
imports: import builtins
  import os
  import shutil
  import tempfile
  import textwrap
  from typing import Any, Dict, List
  from unittest import mock
  import jinja2
  import nbformat
  import tensorflow
  from tfx import types
  from tfx.dsl.components.base import base_component
  from tfx.dsl.components.base import base_executor
  from tfx.dsl.components.base import executor_spec
  from tfx.orchestration.experimental.interactive import interactive_context
  from tfx.orchestration.experimental.interactive import standard_visualizations
  from tfx.orchestration.launcher.in_process_component_launcher import InProcessComponentLauncher
  from tfx.types import component_spec
  from tfx.types import standard_artifacts
  from tfx.utils import telemetry_utils
label_desc: Use image node_id 10 for calling the InteractiveContextTest obj's underlying member method code with example usage: obj.testTelemetry(mock_launcher_create) and returns: mock