dulwich.tests.test_grafts module

Tests for graftpoints.

class dulwich.tests.test_grafts.GraftParserTests(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.

assertParse(expected, graftpoints)
test_multiple_hybrid()
test_no_grafts()
test_no_parents()
test_parents()
class dulwich.tests.test_grafts.GraftSerializerTests(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.

assertSerialize(expected, graftpoints)
test_multiple_hybrid()
test_no_grafts()
test_no_parents()
test_parents()
class dulwich.tests.test_grafts.GraftsInMemoryRepoTests(methodName='runTest')

Bases: GraftsInRepositoryBase, 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.

setUp()

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

class dulwich.tests.test_grafts.GraftsInRepoTests(methodName='runTest')

Bases: GraftsInRepositoryBase, 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.

setUp()

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

test_init_with_empty_info_grafts()
test_init_with_info_grafts()
class dulwich.tests.test_grafts.GraftsInRepositoryBase

Bases: object

get_repo_with_grafts(grafts)
tearDown()
test_existing_parent_graft()
test_no_grafts()
test_no_parents_graft()
test_object_store_fail_invalid_parents()
test_remove_graft()
dulwich.tests.test_grafts.makesha(digit)