code: def _test_BasicAnnexTestRepo(repodir):
      trepo = BasicAnnexTestRepo(repodir)
      trepo.create()
      assert_repo_status(trepo.path)
      ok_file_under_git(trepo.path, "test.dat")
      ok_file_under_git(trepo.path, "INFO.txt")
      ok_file_under_git(trepo.path, "test-annex.dat", annexed=True)
      ok_(trepo.repo.file_has_content("test-annex.dat") is False)
      with swallow_outputs():
          trepo.repo.get("test-annex.dat")
      ok_(trepo.repo.file_has_content("test-annex.dat"))
  
imports: from datalad.tests.utils_pytest import assert_repo_status, ok_, ok_file_under_git, skip_if_on_windows, swallow_outputs, with_tempfile
  from datalad.tests.utils_testrepos import BasicAnnexTestRepo, BasicGitTestRepo
label_desc: Use image node_id 1 for calling a global function with example usage: _test_BasicAnnexTestRepo(repodir) without return types