code: def test_resume_auto_success(wandb_init):
      run = wandb_init(reinit=True, resume=True)
      run.finish()
      assert not os.path.exists(run.settings.resume_fname)
  
file_path: wandb/tests/pytest_tests/system_tests/test_core/test_wandb_integration.py
imports: import importlib
  import os
  import shutil
  import time
  from unittest import mock
  import pytest
  import wandb
  import wandb.env
label_desc: Use image node_id 1 for calling a global function with example usage: test_resume_auto_success(wandb_init) without return types