def load_plugin(cls, plugin):
"""Load the given plug-in and saves it to be unloaded when the TestCase is finished.
@param plugin: Plug-in name.
"""
cmds.loadPlugin(plugin, qt=True)
cls.plugins_loaded.add(plugin)