code: def test_gpu_merge(self):
      profile = Profile(
          name="test",
          resources=ProfileResources(
              gpu=ProfileGPU(name="A100", count=1),
          ),
      )
      modified, _ = apply_args(profile, ["--gpu", "A100:4"])
      profile.resources.gpu.count = 4
      assert profile.dict() == modified.dict()
  
imports: import argparse
  from typing import List, Tuple
  import pytest
  from dstack._internal.cli.services.configurators.profile import apply_profile_args, gpu_spec, register_profile_args
  from dstack._internal.core.models.profiles import Profile, ProfileGPU, ProfileResources, ProfileRetryPolicy, SpotPolicy
label_desc: Use image node_id 4 for calling the TestProfileArgs obj's underlying member method code with example usage: obj.test_gpu_merge() without return types