l.c.m.t.t.AcquireBranchToPullTests : class documentation

Part of lp.code.model.tests.test_branchpuller View In Hierarchy

Known subclasses: lp.code.model.tests.test_branchpuller.TestAcquireBranchToPullDirectly, lp.code.xmlrpc.tests.test_codehosting.AcquireBranchToPullTestsViaEndpoint

Tests for acquiring branches to pull.

The tests apply to branches accessed directly or through an XML-RPC style endpoint -- implement assertNoBranchIsAcquired, assertBranchIsAcquired and startMirroring as appropriate.

Method assertNoBranchIsAcquired Assert that there is no branch to pull.
Method assertBranchIsAcquired Assert that branch is the next branch to be pulled.
Method startMirroring Mark that branch has begun mirroring.
Method test_empty Undocumented
Method test_simple Undocumented
Method test_remote_branch_not_acquired Undocumented
Method test_private Undocumented
Method test_no_inprogress Undocumented
Method test_first_requested_returned Undocumented
Method test_type_filter_mirrrored_returns_mirrored Undocumented
Method test_type_filter_imported_does_not_return_mirrored Undocumented
Method test_type_filter_mirrored_imported_returns_mirrored Undocumented
Method test_type_filter_mirrored_imported_returns_imported Undocumented
def assertNoBranchIsAcquired(self, *branch_types):
Assert that there is no branch to pull.
Parametersbranch_typesA list of branch types to pass to acquireBranchToPull. Passing none means consider all types of branch.
def assertBranchIsAcquired(self, branch, *branch_types):
Assert that branch is the next branch to be pulled.
Parametersbranch_typesA list of branch types to pass to acquireBranchToPull. Passing none means consider all types of branch.
def startMirroring(self, branch):
Mark that branch has begun mirroring.
def test_empty(self):
Undocumented
def test_simple(self):
Undocumented
def test_remote_branch_not_acquired(self):
Undocumented
def test_private(self):
Undocumented
def test_no_inprogress(self):
Undocumented
def test_first_requested_returned(self):
Undocumented
def test_type_filter_mirrrored_returns_mirrored(self):
Undocumented
def test_type_filter_imported_does_not_return_mirrored(self):
Undocumented
def test_type_filter_mirrored_imported_returns_mirrored(self):
Undocumented
def test_type_filter_mirrored_imported_returns_imported(self):
Undocumented
API Documentation for Launchpad, generated by pydoctor at 2020-10-29 00:01:47.