def _install_notify_plugin(notify_branch, plugin_name, remove_directories):
    try:
        subprocess.run(['$FLEDGE_ROOT/tests/system/python/scripts/install_c_plugin {} notify {}'.format(notify_branch, plugin_name)], shell=True, check=True, stdout=subprocess.DEVNULL)
    except subprocess.CalledProcessError:
        assert False, '{} installation failed'.format(plugin_name)
    finally:
        remove_directories('/tmp/fledge-notify-{}'.format(plugin_name))
def _install_notify_plugin(notify_branch, plugin_name, remove_directories):
    try:
        subprocess.run(['$FLEDGE_ROOT/tests/system/python/scripts/install_c_plugin {} notify {}'.format(notify_branch, plugin_name)], shell=True, check=True, stdout=subprocess.DEVNULL)
    except subprocess.CalledProcessError:
        assert False, '{} installation failed'.format(plugin_name)
    finally:
        remove_directories('/tmp/fledge-notify-{}'.format(plugin_name))