dulwich.tests.test_hooks module

Tests for executing hooks.

class dulwich.tests.test_hooks.ShellHookTests(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.

setUp()

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

test_hook_commit_msg()
test_hook_post_commit()
test_hook_pre_commit()