code: def test_use_artifact(user, test_settings):
      with wandb.init(settings=test_settings()) as run:
          artifact = wandb.Artifact("arti", type="dataset")
          run.use_artifact(artifact)
          artifact.wait()
          assert artifact.digest == "64e7c61456b10382e2f3b571ac24b659"
  
imports: import json
  from unittest import mock
  import pytest
  import wandb
label_desc: Use image node_id 11 for calling a global function with example usage: test_use_artifact(user, test_settings) without return types