/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: Canonical.com Patch Queue Manager
  • Date: 2007-02-02 06:10:04 UTC
  • mfrom: (2255.1.1 bzr.ab.integration)
  • Revision ID: pqm@pqm.ubuntu.com-20070202061004-5fdd6c2715ccaaa9
remove default repository 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)