class documentation

class BuildRepoRootTests(TestCase):

View In Hierarchy

Tests that build on-disk repos from scratch.

Repos live in a temp dir and are torn down after each test. They start with a single commit in master having single file named 'a'.

Method get_repo_dir Undocumented
Method setUp Undocumented
Method test_build_repo Undocumented
Method test_commit_branch Undocumented
Method test_commit_config_identity Undocumented
Method test_commit_config_identity_from_env Undocumented
Method test_commit_config_identity_in_memoryrepo Undocumented
Method test_commit_config_identity_strips_than Undocumented
Method test_commit_dangling_commit Undocumented
Method test_commit_dangling_commit_with_parents Undocumented
Method test_commit_deleted Undocumented
Method test_commit_encoding Undocumented
Method test_commit_encoding_from_config Undocumented
Method test_commit_fail_ref Undocumented
Method test_commit_follows Undocumented
Method test_commit_merge_heads Undocumented
Method test_commit_merge_heads_file Undocumented
Method test_commit_modified Undocumented
Method test_commit_no_encode_decode Undocumented
Method test_commit_symlink Undocumented
Method test_compression_level Undocumented
Method test_discover_intended Undocumented
Method test_discover_isrepo Undocumented
Method test_discover_notrepo Undocumented
Method test_get_shallow Undocumented
Method test_repositoryformatversion_1 Undocumented
Method test_repositoryformatversion_1_extension Undocumented
Method test_repositoryformatversion_unsupported Undocumented
Method test_reset_index Undocumented
Method test_stage_absolute Undocumented
Method test_stage_deleted Undocumented
Method test_stage_directory Undocumented
Method test_stage_submodule Undocumented
Method test_unstage_add_file Undocumented
Method test_unstage_midify_file_with_dir Undocumented
Method test_unstage_modify_file Undocumented
Method test_unstage_remove_file Undocumented
Method test_unstage_while_no_commit Undocumented
Method test_update_shallow Undocumented
Instance Variable _repo Undocumented
Instance Variable _repo_dir Undocumented
Instance Variable _root_commit Undocumented

Inherited from TestCase:

Method overrideEnv Undocumented
def get_repo_dir(self):

Undocumented

def setUp(self):

Undocumented

def test_build_repo(self):

Undocumented

def test_commit_branch(self):

Undocumented

def test_commit_config_identity(self):

Undocumented

def test_commit_config_identity_from_env(self):

Undocumented

def test_commit_config_identity_in_memoryrepo(self):

Undocumented

def test_commit_config_identity_strips_than(self):

Undocumented

def test_commit_dangling_commit(self):

Undocumented

def test_commit_dangling_commit_with_parents(self):

Undocumented

def test_commit_deleted(self):

Undocumented

def test_commit_encoding(self):

Undocumented

def test_commit_encoding_from_config(self):

Undocumented

def test_commit_fail_ref(self):

Undocumented

def test_commit_follows(self):

Undocumented

def test_commit_merge_heads(self):

Undocumented

def test_commit_merge_heads_file(self):

Undocumented

def test_commit_modified(self):

Undocumented

@skipIf((sys.platform in ('win32', 'darwin')), 'tries to implicitly decode as utf8')
def test_commit_no_encode_decode(self):

Undocumented

@skipIf(not getattr(os, 'symlink', None), 'Requires symlink support')
def test_commit_symlink(self):

Undocumented

def test_compression_level(self):

Undocumented

def test_discover_intended(self):

Undocumented

def test_discover_isrepo(self):

Undocumented

def test_discover_notrepo(self):

Undocumented

def test_get_shallow(self):

Undocumented

def test_repositoryformatversion_1(self):

Undocumented

def test_repositoryformatversion_1_extension(self):

Undocumented

def test_repositoryformatversion_unsupported(self):

Undocumented

def test_reset_index(self):

Undocumented

def test_stage_absolute(self):

Undocumented

def test_stage_deleted(self):

Undocumented

def test_stage_directory(self):

Undocumented

def test_stage_submodule(self):

Undocumented

def test_unstage_add_file(self):

Undocumented

def test_unstage_midify_file_with_dir(self):

Undocumented

def test_unstage_modify_file(self):

Undocumented

def test_unstage_remove_file(self):

Undocumented

def test_unstage_while_no_commit(self):

Undocumented

def test_update_shallow(self):

Undocumented

_repo =

Undocumented

_repo_dir =

Undocumented

_root_commit =

Undocumented