/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_options.py

  • Committer: Aaron Bentley
  • Date: 2007-01-26 22:15:58 UTC
  • mto: (2255.1.1 bzr.ab.integration)
  • mto: This revision was merged to the branch mainline in revision 2256.
  • Revision ID: abentley@panoramicfeedback.com-20070126221558-yvlrk159l9ctsn8p
Remove RepositoryFormat.set_default_format, deprecate get_format_type

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)