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
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 |
Parameters | branch_types | A list of branch types to pass to acquireBranchToPull. Passing none means consider all types of branch. |
Parameters | branch_types | A list of branch types to pass to acquireBranchToPull. Passing none means consider all types of branch. |