~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-02-24 09:53:04 UTC
  • mfrom: (4032.3.6 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20090224095304-uk12twrtk4u1mkd1
(robertc) Use a HPSS verb to create Branch objects on bzr:// servers.
        (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
70
70
            # did the right thing.
71
71
            target._ensure_real()
72
72
            target = target._real_branch
 
73
        if isinstance(result_format, remote.RemoteBranchFormat):
 
74
            # Unwrap a parameterised RemoteBranchFormat for comparison.
 
75
            result_format = result_format._custom_format
73
76
        self.assertIs(result_format.__class__, target._format.__class__)
74
77
 
75
78
    def test_sprout_partial(self):