datalad.tests.utils_testrepos

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

Bases: TestRepo

Creates a basic test git-annex repository

REPO_CLASS

alias of AnnexRepo

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

Bases: TestRepo

Creates a basic test git repository.

REPO_CLASS

alias of GitRepo

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

Bases: object

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

Bases: BasicAnnexTestRepo

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

Bases: 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]
property path
abstract populate()[source]
property url