~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_remote.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-02-23 15:03:27 UTC
  • mfrom: (5662.2.7 branch-format-registry)
  • Revision ID: pqm@pqm.ubuntu.com-20110223150327-d9k3rvhhy8ij3t4j
(jelmer) Add a BranchFormatRegistry. (Jelmer Vernooij)

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())