code: def test_status_non_dvc_repo_import(tmp_dir, dvc, git_dir):
      with git_dir.branch("branch", new=True):
          git_dir.scm_gen(
              "file", "first version", commit="first version"
          )
  
      dvc.imp(os.fspath(git_dir), "file", "file", rev="branch")
  
      assert dvc.status(["file.dvc"]) == {}
  
      with git_dir.branch("branch", new=False):
          git_dir.scm_gen(
              "file", "second version", commit="update file"
          )
  
      (status,) = dvc.status(["file.dvc"])["file.dvc"]
      assert status == {
          "changed deps": {f"file ({git_dir})": "update available"}
      }
  
file_path: dvc/tests/func/test_status.py
imports: import os
  from dvc.cli import main
  from dvc.fs import localfs
label_desc: Use image node_id 3 for calling a global function with example usage: test_status_non_dvc_repo_import(tmp_dir, dvc, git_dir) without return types