~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-12-01 23:50:52 UTC
  • mfrom: (3834.5.4 sprout_matching_bzrdir)
  • Revision ID: pqm@pqm.ubuntu.com-20081201235052-tlg1kksgj0kuya56
(jam) branch_format._matching_bzrdir.branch_format should always
        match.

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
from bzrlib.workingtree import WorkingTree
52
52
 
53
53
 
 
54
class TestTestCaseWithBranch(TestCaseWithBranch):
 
55
 
 
56
    def test_branch_format_matches_bzrdir_branch_format(self):
 
57
        bzrdir_branch_format = self.bzrdir_format.get_branch_format()
 
58
        self.assertIs(self.branch_format.__class__,
 
59
                      bzrdir_branch_format.__class__)
 
60
 
 
61
 
54
62
class TestBranch(TestCaseWithBranch):
55
63
 
56
64
    def test_create_tree_with_merge(self):