def METHOD_NAME(wandb_init):
    """Ensure that `wandb.init()` creates the proper directory and nothing else."""
    default_path = os.path.join(os.getcwd(), "wandb")
    # Clear env if set
    names_to_remove = {env.DIR}
    modified_environ = {k: v for k, v in os.environ.items() if k not in names_to_remove}
    with mock.patch.dict("os.environ", modified_environ, clear=True):
        # Test for the base case
        reload_fn(wandb)
        _remove_dir_if_exists(default_path)
        run = wandb_init()
        run.finish()
        assert os.path.isdir(default_path), f"Expected directory at {default_path}"