def setUp(self): super(TestOpenOnlyScheme, self).setUp() BranchOpener.install_hook()
def setUp(self): super(TestBranchOpenerCheckAndFollowBranchReference, self).setUp() BranchOpener.install_hook()
def setUp(self): super(TestBranchOpenerStacking, self).setUp() BranchOpener.install_hook()
def make_branch_opener(self, allowed_urls, probers=None): policy = WhitelistPolicy(True, allowed_urls, True) return BranchOpener(policy, probers)