code: def test_rich_progress_bar_configure_columns():
      from rich.progress import TextColumn
  
      custom_column = TextColumn("[progress.description]Testing Rich!")
  
      class CustomRichProgressBar(RichProgressBar):
          def configure_columns(self, trainer):
              return [custom_column]
  
      progress_bar = CustomRichProgressBar()
  
      progress_bar._init_progress(Mock())
  
      assert progress_bar.progress.columns[0] == custom_column
      assert len(progress_bar.progress.columns) == 2
  
imports: import pickle
  from collections import defaultdict
  from unittest import mock
  from unittest.mock import DEFAULT, Mock
  import pytest
  from lightning.pytorch import Trainer
  from lightning.pytorch.callbacks import ProgressBar, RichProgressBar
  from lightning.pytorch.callbacks.progress.rich_progress import RichProgressBarTheme
  from lightning.pytorch.demos.boring_classes import BoringModel, RandomDataset, RandomIterableDataset
  from lightning.pytorch.loggers import CSVLogger
  from lightning.pytorch.loggers.logger import DummyLogger
  from tests_pytorch.helpers.runif import RunIf
  from torch.utils.data import DataLoader
label_desc: Use image node_id 7 for calling a global function with example usage: test_rich_progress_bar_configure_columns() and returns: list