code: def test_make_job_name(test_settings):
      builder = JobBuilder(settings=test_settings())
      name = builder._make_job_name("testing*123")
  
      assert name == "job-testing_123"
  
      settings = test_settings({"job_name": "custom-name"})
      builder = JobBuilder(settings=settings)
      name = builder._make_job_name("testing*123")
  
      assert name == "custom-name"
  
file_path: wandb/tests/pytest_tests/unit_tests/test_launch/test_job.py
imports: import json
  import os
  from unittest.mock import MagicMock
  from wandb.apis.public import Job
  from wandb.sdk.internal.job_builder import JobBuilder
label_desc: Use image node_id 3 for calling a global function with example usage: test_make_job_name(test_settings) without return types