~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_options.py

  • Committer: Aaron Bentley
  • Date: 2007-02-02 04:32:56 UTC
  • mfrom: (2204.5.5 format-registry)
  • mto: This revision was merged to the branch mainline in revision 2256.
  • Revision ID: aaron.bentley@utoronto.ca-20070202043256-g5isx794qet9sxrd
Merge my own bundle

Show diffs side-by-side

added added

removed removed

Lines of Context:
159
159
 
160
160
    def test_registry_converter(self):
161
161
        options = [option.RegistryOption('format', '',
162
 
                   bzrdir.format_registry, builtins.get_format_type)]
 
162
                   bzrdir.format_registry, bzrdir.format_registry.make_bzrdir)]
163
163
        opts, args = self.parse(options, ['--format', 'knit'])
164
164
        self.assertIsInstance(opts.format.repository_format,
165
165
                              repository.RepositoryFormatKnit1)