def METHOD_NAME(self):
    self.create_plugin(name='Name', desc='Desc',
                       funcs=['plugin_playlist', 'plugin_playlists'])
    self.pm.rescan()
    self.assertEquals(len(self.pm.plugins), 1)