code: def test_tensorboard_tracker_run__terminal_capture(self):
      # Given
      run = TensorboardRun(
          sync_tensorboard_log_dir="dummy",
          repo=self.repo,
          capture_terminal_logs=True,
      )
      run["testcase"] = full_class_name(TensorboardRun)
      run_hash = run.hash
      console_statement = "no console capture has worked"
  
      # When
      print(console_statement)
      time.sleep(3)  # allow tracker to add terminal logs
      del run
  
      # Then
      tracked_run = self.repo.get_run(run_hash)
      terminal_logs = tracked_run.get_terminal_logs()
      log_found = False
      for log_item in terminal_logs.data.values():
          log_line = log_item[0][0]
          if isinstance(log_line, LogLine):
              if console_statement in str(log_line.data):
                  log_found = True
  
      self.assertTrue(log_found)
  
file_path: aim/tests/ext/test_tensorboard_run.py
imports: import time
  from aim.ext.resource.log import LogLine
  from aim.ext.tensorboard_tracker.run import Run
  from tests.base import TestBase
  from tests.utils import full_class_name
label_desc: Use image node_id 3 for calling the TestTensorboardRun obj's underlying member method code with example usage: obj.test_tensorboard_tracker_run__terminal_capture() without return types