dulwich.tests.compat.test_server module¶
Compatibility tests between Dulwich and the cgit server.
- Warning: these tests should be fairly stable, but when writing/debugging new
- tests, deadlocks may freeze the test process such that it cannot be Ctrl-C’ed. On POSIX systems, you can kill the tests with Ctrl-Z, “kill %”.
-
class
dulwich.tests.compat.test_server.GitServerSideBand64kTestCase(methodName='runTest')¶ Bases:
dulwich.tests.compat.test_server.GitServerTestCaseTests for client/server compatibility with side-band-64k support.
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.
-
min_git_version= (1, 7, 0, 2)¶
-
setUp()¶ Hook method for setting up the test fixture before exercising it.
-
-
class
dulwich.tests.compat.test_server.GitServerTestCase(methodName='runTest')¶ Bases:
dulwich.tests.compat.server_utils.ServerTests,dulwich.tests.compat.utils.CompatTestCaseTests for client/server compatibility.
This server test case does not use side-band-64k in git-receive-pack.
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.
-
protocol= 'git'¶
-