~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 14:27:18 UTC
  • mto: (5609.10.1 2.3b5-dev)
  • mto: This revision was merged to the branch mainline in revision 5635.
  • Revision ID: v.ladeuil+lp@free.fr-20110127142718-1ik7fyjfflgj91j5
Use self.get_transport instead of transport.get_transport where possible.

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))