297
306
self.assertEqual(['function', 'klass', 'module', 'obj'],
298
307
sorted(a_registry.keys()))
299
308
# The plugin should not be loaded until we grab the first object
302
311
# By default the plugin won't be in the search path
303
312
self.assertRaises(ImportError, a_registry.get, 'obj')