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: GitServerTestCase

Tests 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: Tuple[int, ...] = (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: ServerTests, CompatTestCase

Tests 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'