def METHOD_NAME(self):
    # unload all plugins first
    self.assertTrue(BlockDev.reinit([], True, None))
    # the exception should be properly inherited from two classes
    with self.assertRaises(NotImplementedError):
        BlockDev.md.canonicalize_uuid("3386ff85:f5012621:4a435f06:1eb47236")
    with self.assertRaises(BlockDev.BlockDevError):
        BlockDev.md.canonicalize_uuid("3386ff85:f5012621:4a435f06:1eb47236")
    # load the plugins back
    self.assertTrue(BlockDev.reinit(self.requested_plugins, True, None))