dulwich.tests.compat.test_utils module¶
Tests for git compatibility utilities.
- class dulwich.tests.compat.test_utils.GitVersionTests(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.
- assertRequireFails(required_version)¶
- assertRequireSucceeds(required_version)¶
- setUp()¶
Hook method for setting up the test fixture before exercising it.
- tearDown()¶
Hook method for deconstructing the test fixture after testing it.
- test_git_version_3()¶
- test_git_version_4()¶
- test_git_version_extra()¶
- test_git_version_none()¶
- test_require_git_version()¶