code: def test_run_publish_config(mock_run, parse_records, record_q):
      run = mock_run()
      run.config.t = 1
      run.config.t2 = 2
  
      parsed = parse_records(record_q)
  
      assert len(parsed.records) == 2
      assert len(parsed.summary) == 0
  
      config = parsed.config
      assert len(config) == 2
      assert config[0]["t"] == "1"
      assert config[1]["t2"] == "2"
  
imports: import copy
  import os
  import platform
  import unittest.mock
  import numpy
  import pytest
  import wandb
  import wandb.errors
  from wandb import wandb_sdk
label_desc: Use image node_id 6 for calling a global function with example usage: test_run_publish_config(mock_run, parse_records, record_q) without return types