code: def test_save_policy_symlink(mock_run, parse_records, record_q):
      run = mock_run()
  
      with open("test.rad", "w") as f:
          f.write("something")
      run.save("test.rad")
      assert os.path.exists(os.path.join(run.dir, "test.rad"))
      parsed = parse_records(record_q)
      file_record = parsed.files[0].files[0]
      assert file_record.path == "test.rad"
      assert file_record.policy == 2
  
file_path: wandb/tests/pytest_tests/unit_tests/test_wandb_save.py
imports: import os
  import tempfile
  import pytest
  from wandb.sdk.lib import filesystem
label_desc: Use image node_id 1 for calling a global function with example usage: test_save_policy_symlink(mock_run, parse_records, record_q) without return types