code: def __init__(self, methodName="runTest"):
      super(TestCallbackList, self).__init__(methodName)
      self.callback_1 = MagicMock(
          spec=torchbearer.callbacks.printer.Tqdm()
      )
      self.callback_2 = MagicMock(
          spec=torchbearer.callbacks.tensor_board.TensorBoard()
      )
      callbacks = [self.callback_1, self.callback_2]
      self.list = CallbackList(callbacks)
  
file_path: torchbearer/tests/callbacks/test_callbacks.py
imports: import warnings
  from unittest import TestCase
  from mock import MagicMock, Mock
  import torchbearer
  from torchbearer.callbacks import CallbackList, Tqdm, TensorBoard
label_desc: Use image node_id 1 to create a new TestCallbackList object from inherited base classes: TestCase with example: obj = TestCallbackList(methodName)