code: def __init__(self):
      self.gauge_factory = MagicMock(spec_set=GaugeFactory)
  
      self.cpu_gauge_value = 1.0
      self.memory_gauge_value = 2.0
  
      self.gpu0_usage_gauge_value = 3.0
      self.gpu1_usage_gauge_value = 4.0
  
      self.gpu0_memory_gauge_value = 5.0
      self.gpu1_memory_gauge_value = 6.0
  
      cpu_gauge = MagicMock(wraps=SystemCpuUsageGauge())
      cpu_gauge.value.return_value = self.cpu_gauge_value
      self.gauge_factory.create_cpu_usage_gauge.return_value = cpu_gauge
  
      ram_gauge = MagicMock(wraps=SystemMemoryUsageGauge())
      ram_gauge.value.return_value = self.memory_gauge_value
      self.gauge_factory.create_memory_usage_gauge.return_value = (
          ram_gauge
      )
  
      gpu_usage_gauge_0 = MagicMock(wraps=GpuUsageGauge(card_index=0))
      gpu_usage_gauge_0.value.return_value = self.gpu0_usage_gauge_value
  
      gpu_usage_gauge_2 = MagicMock(wraps=GpuUsageGauge(card_index=2))
      gpu_usage_gauge_2.value.return_value = self.gpu1_usage_gauge_value
  
      self.gauge_factory.create_gpu_usage_gauge.side_effect = (
          lambda card_index: gpu_usage_gauge_0
          if card_index == 0
          else gpu_usage_gauge_2
      )
  
      gpu_memory_gauge_0 = MagicMock(wraps=GpuMemoryGauge(card_index=0))
      gpu_memory_gauge_0.value.return_value = (
          self.gpu0_memory_gauge_value
      )
  
      gpu_memory_gauge_2 = MagicMock(wraps=GpuMemoryGauge(card_index=2))
      gpu_memory_gauge_2.value.return_value = (
          self.gpu1_memory_gauge_value
      )
      self.gauge_factory.create_gpu_memory_gauge.side_effect = (
          lambda card_index: gpu_memory_gauge_0
          if card_index == 0
          else gpu_memory_gauge_2
      )
  
imports: from mock import MagicMock
  from neptune.common.hardware.gauges.cpu import SystemCpuUsageGauge
  from neptune.common.hardware.gauges.gauge_factory import GaugeFactory, SystemMemoryUsageGauge
  from neptune.common.hardware.gauges.gpu import GpuMemoryGauge, GpuUsageGauge
label_desc: Use image node_id 1 to create a new GaugesFixture object from inherited base classes: object with example: obj = GaugesFixture()