~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: 2009-02-13 00:52:18 UTC
  • mto: This revision was merged to the branch mainline in revision 4012.
  • Revision ID: robertc@robertcollins.net-20090213005218-yxrgiq7j1du2vldm
Fix RemoteBranch to be used correctly in tests using bzr+ssh, to fire off Branch hooks correctly, and improve the branch_implementations tests to check that making a branch gets the right format under test.

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
        self.assertIs(self.branch_format.__class__,
59
59
                      bzrdir_branch_format.__class__)
60
60
 
 
61
    def test_make_branch_gets_expected_format(self):
 
62
        branch = self.make_branch('.')
 
63
        self.assertIs(self.branch_format.__class__,
 
64
            branch._format.__class__)
 
65
 
61
66
 
62
67
class TestBranch(TestCaseWithBranch):
63
68