~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_remote.py

  • Committer: Jelmer Vernooij
  • Date: 2011-02-24 16:09:47 UTC
  • mto: (5582.10.69 weave-fmt-plugin)
  • mto: This revision was merged to the branch mainline in revision 5688.
  • Revision ID: jelmer@samba.org-20110224160947-e7kqclxnjif28v5q
merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1859
1859
 
1860
1860
    def test_get_format_description(self):
1861
1861
        remote_format = RemoteBranchFormat()
1862
 
        real_format = branch.BranchFormat.get_default_format()
 
1862
        real_format = branch.format_registry.get_default()
1863
1863
        remote_format._network_name = real_format.network_name()
1864
1864
        self.assertEqual(remoted_description(real_format),
1865
1865
            remote_format.get_format_description())