Part of lp.codehosting.tests.test_safe_open.TestSafeBranchOpenerCheckAndFollowBranchReference View In Hierarchy
We implement the methods we need to to be able to control all the
inputs to the BranchMirrorer.checkSource
method, which is what is
being tested in this class.
Method | __init__ | Create a new SafeBranchOpener. |
Method | followReference | Get the branch-reference value at the specified url. |
Inherited from SafeBranchOpener:
Class Method | install_hook | Install the transformFallbackLocation hook. |
Method | checkAndFollowBranchReference | Check URL (and possibly the referenced URL) for safety. |
Class Method | transformFallbackLocationHook | Installed as the 'transform_fallback_location' Branch hook. |
Method | runWithTransformFallbackLocationHookInstalled | Undocumented |
Method | open | Open the Bazaar branch at url, first checking for safety. |
Method | _open_dir | Simple BzrDir.open clone that only uses specific probers. |
Parameters | policy | The opener policy to use. |
probers | Optional list of probers to allow. Defaults to local and remote bzr probers. |