plugins = {}


def register(name, klass):
    """
    Please register your plugins using this function
    the klass will receive the Host object to it constructor,
    and will be cached while the Host object exists
    """
    assert name not in plugins
    assert isinstance(name, str)
    plugins[name] = klass


def clean(plugin):
    """Every plugin should implement 3 methods:
    ping - verifies service is up and running and plugin is communicating with it properly
    reset_state - resets state of service back to origin, before tests ran
    verify_functionality - a method which does basic 'sanity' test flow of plugin methods and verifies plugin is
    functioning properly... Useful to run after making changes to a plugin, or when seeing weird plugin behavior
    """
    pass

plugins = {}


def register(name, klass):
    """
    Please register your plugins using this function
    the klass will receive the Host object to it constructor,
    and will be cached while the Host object exists
    """
    assert name not in plugins
    assert isinstance(name, str)
    plugins[name] = klass


def clean(plugin):
    """Every plugin should implement 3 methods:
    ping - verifies service is up and running and plugin is communicating with it properly
    reset_state - resets state of service back to origin, before tests ran
    verify_functionality - a method which does basic 'sanity' test flow of plugin methods and verifies plugin is
    functioning properly... Useful to run after making changes to a plugin, or when seeing weird plugin behavior
    """
    pass

Please register your plugins using this function     the klass will receive the Host object to it constructor,     and will be cached while the Host object exists Every plugin should implement 3 methods:     ping - verifies service is up and running and plugin is communicating with it properly     reset_state - resets state of service back to origin, before tests ran     verify_functionality - a method which does basic 'sanity' test flow of plugin methods and verifies plugin is     functioning properly... Useful to run after making changes to a plugin, or when seeing weird plugin behavior