code: def test_asset_registry():
      # test that the asset registry is populated with the correct assets
      # should be updated if new assets are added
      registry = asset_registry._registry
      assert len(registry) == 10
      for asset in (
          CPU,
          Disk,
          Memory,
          GPU,
          GPUAMD,
          GPUApple,
          IPU,
          Network,
          TPU,
          Trainium,
      ):
          assert asset in registry
  
imports: import threading
  import time
  from collections import deque
  from typing import TYPE_CHECKING, Any
  from unittest import mock
  import pytest
  import wandb
  from wandb.sdk.internal.settings_static import SettingsStatic
  from wandb.sdk.internal.system.assets import CPU, GPU, GPUAMD, IPU, TPU, Disk, GPUApple, Memory, Network, Trainium
  from wandb.sdk.internal.system.assets.asset_registry import asset_registry
  from wandb.sdk.internal.system.assets.interfaces import MetricsMonitor
  from wandb.sdk.internal.system.system_monitor import AssetInterface, SystemMonitor
label_desc: Use image node_id 1 for calling a global function with example usage: test_asset_registry() without return types