dulwich.tests.compat.server_utils module

Utilities for testing git server compatibility.

class dulwich.tests.compat.server_utils.NoSideBand64kReceivePackHandler(backend, args, proto, stateless_rpc=False, advertise_refs=False)

Bases: ReceivePackHandler

ReceivePackHandler that does not support side-band-64k.

classmethod capabilities()
class dulwich.tests.compat.server_utils.ServerTests

Bases: object

Base tests for testing servers.

Does not inherit from TestCase so tests are not automatically run.

branch_args(branches=None)
import_repos()
min_single_branch_version = (1, 7, 10)
test_clone_from_dulwich_empty()
test_fetch_from_dulwich()
test_fetch_from_dulwich_issue_88_alternative()
test_fetch_from_dulwich_issue_88_standard()
test_fetch_from_dulwich_no_op()
test_fetch_full_depth_into_shallow_clone_from_dulwich()
test_fetch_same_depth_into_shallow_clone_from_dulwich()
test_lsremote_from_dulwich()
test_new_shallow_clone_from_dulwich()
test_push_to_dulwich()
test_push_to_dulwich_issue_88_standard()
test_push_to_dulwich_no_op()
test_push_to_dulwich_remove_branch()
test_shallow_clone_from_git_is_identical()
url(port)
dulwich.tests.compat.server_utils.ignore_error(error)

Check whether this error is safe to ignore.