def setUp(self): TestCaseWithRepository.setUp(self) # make_bzrdir relies on this being a relative filesystem path. self._source_branch_path = 'source-branch' SafeBranchOpener.install_hook() self.worker = self.makePullerWorker( self.get_url(self._source_branch_path), self.get_url('dest-path'))
def make_repository(self, path, format=None): TestCaseWithRepository.make_repository(self, path, format=format) return repository.Repository.open(self.get_transport(path).base)