157
157
opts, args = self.parse(options, ['--two', '--one',
159
159
self.assertEqual({'format':'two'}, opts)
160
options = [option.RegistryOption('format', '', registry, str,
162
self.assertRaises(errors.BzrCommandError, self.parse, options,
161
165
def test_registry_converter(self):
162
166
options = [option.RegistryOption('format', '',