~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Robert Collins
  • Date: 2007-03-29 05:00:40 UTC
  • mto: (2018.18.6 hpss-faster-copy)
  • mto: This revision was merged to the branch mainline in revision 2435.
  • Revision ID: robertc@robertcollins.net-20070329050040-mihvse1hk4mu7mxk
Fix test_format_initialize_find_open by delegating Branch formt lookup to the BzrDir, where it should have stayed from the start.

Show diffs side-by-side

added added

removed removed

Lines of Context:
655
655
            self.branch_format.get_format_string()
656
656
        except NotImplementedError:
657
657
            return
658
 
        self.assertEqual(self.branch_format,
659
 
                         branch.BranchFormat.find_format(opened_control))
 
658
        self.assertEqual(self.branch_format, opened_control.find_branch_format())
660
659
 
661
660
 
662
661
class TestBound(TestCaseWithBranch):