~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_controldir/test_controldir.py

  • Committer: Jelmer Vernooij
  • Date: 2010-08-25 20:30:12 UTC
  • mto: This revision was merged to the branch mainline in revision 5418.
  • Revision ID: jelmer@samba.org-20100825203012-im1wveasuf1bvpai
Move network_format_registry to bzrlib.controldir.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1395
1395
            network_name = format.network_name()
1396
1396
            self.assertEqual(real_dir._format.network_name(), network_name)
1397
1397
        else:
1398
 
            registry = bzrdir.network_format_registry
 
1398
            registry = controldir.network_format_registry
1399
1399
            network_name = format.network_name()
1400
1400
            looked_up_format = registry.get(network_name)
1401
1401
            self.assertEqual(format.__class__, looked_up_format.__class__)