dulwich.tests.test_graph module

Tests for dulwich.graph.

class dulwich.tests.test_graph.CanFastForwardTests(methodName='runTest')

Bases: dulwich.tests.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.

test_diverged()
test_ff()
class dulwich.tests.test_graph.FindMergeBaseTests(methodName='runTest')

Bases: dulwich.tests.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.

static run_test(dag, inputs)
test_ancestor()
test_another_crossover()
test_direct_parent()
test_multiple_lca()
test_no_common_ancestor()
test_octopus()
test_three_way_merge_lca()