/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_bzrdir.py

  • Committer: Andrew Bennetts
  • Date: 2009-03-06 12:22:29 UTC
  • mto: This revision was merged to the branch mainline in revision 4087.
  • Revision ID: andrew.bennetts@canonical.com-20090306122229-y0zqji9hbj5os7k8
Fix bzrlib.tests.test_bzrdir.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1227
1227
        return _TestBzrDirFormat()
1228
1228
 
1229
1229
 
 
1230
class _TestBranchFormat(bzrlib.branch.BranchFormat):
 
1231
    """Test Branch format for TestBzrDirSprout."""
 
1232
 
 
1233
 
1230
1234
class _TestBranch(bzrlib.branch.Branch):
1231
1235
    """Test Branch implementation for TestBzrDirSprout."""
1232
1236
 
1233
1237
    def __init__(self, *args, **kwargs):
 
1238
        self._format = _TestBranchFormat()
1234
1239
        super(_TestBranch, self).__init__(*args, **kwargs)
1235
1240
        self.calls = []
1236
1241
        self._parent = None