code: def test_double_init(scm):
      ret = main(["init"])
      assert ret == 0
      assert os.path.isdir(DvcRepo.DVC_DIR)
  
      ret = main(["init"])
      assert ret != 0
      assert os.path.isdir(DvcRepo.DVC_DIR)
  
      ret = main(["init", "--force"])
      assert ret == 0
      assert os.path.isdir(DvcRepo.DVC_DIR)
  
file_path: dvc/tests/func/test_init.py
imports: import logging
  import os
  import pytest
  from dvc.cli import main
  from dvc.config import Config
  from dvc.exceptions import InitError
  from dvc.repo import Repo
label_desc: Use image node_id 3 for calling a global function with example usage: test_double_init(scm) without return types