code: def test_parse_run_localhost() -> None:
      """This format can be seen when running old unit tests."""
      test_case = (
          "http://localhost:42051/mock_server_entity/test/runs/12345678"
      )
      ref = WandbReference.parse(test_case)
      assert ref.is_run()
      assert ref.host == "localhost:42051"
      assert ref.entity == "mock_server_entity"
      assert ref.project == "test"
      assert ref.run_id == "12345678"
  
file_path: wandb/tests/pytest_tests/system_tests/test_launch/test_wandb_reference.py
imports: from wandb.sdk.launch.wandb_reference import WandbReference
label_desc: Use image node_id 5 for calling a global function with example usage: test_parse_run_localhost() without return types