dulwich.tests.test_walk module

Tests for commit walking functionality.

class dulwich.tests.test_walk.TestWalkEntry(commit, changes)

Bases: object

class dulwich.tests.test_walk.WalkEntryTest(methodName='runTest')

Bases: TestCase

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

make_commits(commit_spec, **kwargs)
make_linear_commits(num_commits, **kwargs)
setUp()

Hook method for setting up the test fixture before exercising it.

test_all_changes()
test_all_with_merge()
test_filter_changes()
test_filter_with_merge()
class dulwich.tests.test_walk.WalkerTest(methodName='runTest')

Bases: TestCase

Create an instance of the class that will use the named test method when executed. Raises a ValueError if the instance does not have a method with the specified name.

assertTopoOrderEqual(expected_commits, commits)
assertWalkYields(expected, *args, **kwargs)
make_commits(commit_spec, **kwargs)
make_linear_commits(num_commits, **kwargs)
setUp()

Hook method for setting up the test fixture before exercising it.

test_branch()
test_changes_multiple_parents()
test_changes_one_parent()
test_changes_with_renames()
test_empty_walk()
test_follow_rename()
test_follow_rename_remove_path()
test_linear()
test_max_entries()
test_merge()
test_merge_of_new_branch_from_old_base()
test_merge_of_old_branch()
test_missing()
test_out_of_order_children()
test_out_of_order_with_exclude()
test_path_matches()
test_paths()
test_paths_max_entries()
test_paths_merge()
test_paths_subtree()
test_reverse()
test_reverse_after_max_entries()
test_since()
test_since_over_scan()
test_since_until()
test_tag()
test_topo_reorder_linear()
test_topo_reorder_multiple_children()
test_topo_reorder_multiple_parents()
test_until()