~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_branch/test_branch.py

  • Committer: Vincent Ladeuil
  • Date: 2011-01-27 15:58:36 UTC
  • mfrom: (5609.2.5 2.3)
  • mto: This revision was merged to the branch mainline in revision 5635.
  • Revision ID: v.ladeuil+lp@free.fr-20110127155836-hoyxs53z42jh3ezm
Merge 2.3 into trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
347
347
        explicit nickname is set.  That is, an explicit nickname always
348
348
        overrides the implicit one.
349
349
        """
350
 
        t = transport.get_transport(self.get_url())
 
350
        t = self.get_transport()
351
351
        branch = self.make_branch('bzr.dev')
352
352
        # The nick will be 'bzr.dev', because there is no explicit nick set.
353
353
        self.assertEqual(branch.nick, 'bzr.dev')
682
682
            # they may not be initializable.
683
683
            return
684
684
        # supported formats must be able to init and open
685
 
        t = transport.get_transport(self.get_url())
 
685
        t = self.get_transport()
686
686
        readonly_t = transport.get_transport(self.get_readonly_url())
687
687
        made_branch = self.make_branch('.')
688
688
        self.failUnless(isinstance(made_branch, _mod_branch.Branch))