code: def test_metric_none(relay_server, wandb_init):
      with relay_server() as relay:
          run = wandb_init()
          run_id = run.id
          run.define_metric("val2", summary="none")
          run.log(dict(val2=4))
          run.log(dict(val2=1))
          run.finish()
  
      summary = relay.context.get_run_summary(run_id)
  
      assert "val2" not in summary
      assert len(summary) == 0
  
imports: import pytest
label_desc: Use image node_id 6 for calling a global function with example usage: test_metric_none(relay_server, wandb_init) without return types