datalad.tests.utils_testrepos

class datalad.tests.utils_testrepos.BasicAnnexTestRepo(path=None, puke_if_exists=True)[source]

Bases: datalad.tests.utils_testrepos.TestRepo

Creates a basic test git-annex repository

REPO_CLASS

alias of datalad.support.annexrepo.AnnexRepo

create_info_file()[source]
populate()[source]
class datalad.tests.utils_testrepos.BasicGitTestRepo(path=None, puke_if_exists=True)[source]

Bases: datalad.tests.utils_testrepos.TestRepo

Creates a basic test git repository.

REPO_CLASS

alias of datalad.support.gitrepo.GitRepo

create_info_file()[source]
populate()[source]
class datalad.tests.utils_testrepos.InnerSubmodule[source]

Bases: object

create()[source]
path
url
class datalad.tests.utils_testrepos.NestedDataset(path=None, puke_if_exists=True)[source]

Bases: datalad.tests.utils_testrepos.BasicAnnexTestRepo

populate()[source]
class datalad.tests.utils_testrepos.SubmoduleDataset(path=None, puke_if_exists=True)[source]

Bases: datalad.tests.utils_testrepos.BasicAnnexTestRepo

populate()[source]
class datalad.tests.utils_testrepos.TestRepo(path=None, puke_if_exists=True)[source]

Bases: object

REPO_CLASS = None
create()[source]
create_file(name, content, add=True, annex=False)[source]
path
populate()[source]
url