class documentation

class RepositoryRootTests(TestCase):

View In Hierarchy

Undocumented

Method assertFilesystemHidden Undocumented
Method mkdtemp Undocumented
Method open_repo Undocumented
Method test_as_dict Undocumented
Method test_clone Undocumented
Method test_clone_bare Undocumented
Method test_clone_branch Undocumented
Method test_clone_checkout_and_bare Undocumented
Method test_clone_empty Test clone() doesn't crash if HEAD points to a non-existing ref.
Method test_clone_invalid_branch Undocumented
Method test_clone_no_head Undocumented
Method test_clone_tag Undocumented
Method test_common_revisions This test demonstrates that find_common_revisions() actually returns common heads, not revisions; dulwich already uses find_common_revisions() in such a manner (see Repo.fetch_objects()).
Method test_contains_missing Undocumented
Method test_contains_object Undocumented
Method test_contains_ref Undocumented
Method test_delitem Undocumented
Method test_fetch Undocumented
Method test_fetch_ignores_missing_refs Undocumented
Method test_get_config Undocumented
Method test_get_config_stack Undocumented
Method test_get_description Undocumented
Method test_get_no_description Undocumented
Method test_get_object Undocumented
Method test_get_object_non_existant Undocumented
Method test_get_parents Undocumented
Method test_get_peeled Undocumented
Method test_get_peeled_not_tag Undocumented
Method test_get_refs Undocumented
Method test_get_tags_empty Undocumented
Method test_get_walker Undocumented
Method test_getitem_unicode Undocumented
Method test_head Undocumented
Method test_init_existing Undocumented
Method test_init_mkdir Undocumented
Method test_init_mkdir_unicode Undocumented
Method test_merge_history Undocumented
Method test_out_of_order_merge Test that revision history is ordered by date, not parent order.
Method test_set_description Undocumented
Method test_setitem Undocumented
Method test_shell_hook_commit_msg Undocumented
Method test_shell_hook_post_commit Undocumented
Method test_shell_hook_pre_commit Undocumented
Method test_shell_hook_pre_commit_add_files Undocumented
Method test_simple_props Undocumented
Method test_working_tree Undocumented

Inherited from TestCase:

Method overrideEnv Undocumented
Method setUp Undocumented
def assertFilesystemHidden(self, path):

Undocumented

def mkdtemp(self):

Undocumented

def open_repo(self, name):

Undocumented

def test_as_dict(self):

Undocumented

def test_clone(self):

Undocumented

def test_clone_bare(self):

Undocumented

def test_clone_branch(self):

Undocumented

def test_clone_checkout_and_bare(self):

Undocumented

def test_clone_empty(self):

Test clone() doesn't crash if HEAD points to a non-existing ref.

This simulates cloning server-side bare repository either when it is still empty or if user renames master branch and pushes private repo to the server. Non-bare repo HEAD always points to an existing ref.

def test_clone_invalid_branch(self):

Undocumented

def test_clone_no_head(self):

Undocumented

def test_clone_tag(self):

Undocumented

def test_common_revisions(self):

This test demonstrates that find_common_revisions() actually returns common heads, not revisions; dulwich already uses find_common_revisions() in such a manner (see Repo.fetch_objects()).

def test_contains_missing(self):

Undocumented

def test_contains_object(self):

Undocumented

def test_contains_ref(self):

Undocumented

def test_delitem(self):

Undocumented

@skipIf((sys.platform == 'win32'), 'fails on Windows')
def test_fetch(self):

Undocumented

@skipIf((sys.platform == 'win32'), 'fails on Windows')
def test_fetch_ignores_missing_refs(self):

Undocumented

def test_get_config(self):

Undocumented

def test_get_config_stack(self):

Undocumented

def test_get_description(self):

Undocumented

def test_get_no_description(self):

Undocumented

def test_get_object(self):

Undocumented

def test_get_object_non_existant(self):

Undocumented

def test_get_parents(self):

Undocumented

def test_get_peeled(self):

Undocumented

def test_get_peeled_not_tag(self):

Undocumented

def test_get_refs(self):

Undocumented

def test_get_tags_empty(self):

Undocumented

def test_get_walker(self):

Undocumented

def test_getitem_unicode(self):

Undocumented

def test_head(self):

Undocumented

def test_init_existing(self):

Undocumented

def test_init_mkdir(self):

Undocumented

def test_init_mkdir_unicode(self):

Undocumented

def test_merge_history(self):

Undocumented

def test_out_of_order_merge(self):

Test that revision history is ordered by date, not parent order.

def test_set_description(self):

Undocumented

def test_setitem(self):

Undocumented

def test_shell_hook_commit_msg(self):

Undocumented

def test_shell_hook_post_commit(self):

Undocumented

def test_shell_hook_pre_commit(self):

Undocumented

def test_shell_hook_pre_commit_add_files(self):

Undocumented

def test_simple_props(self):

Undocumented

def test_working_tree(self):

Undocumented