dbusmock.templates.notification_daemon

notification-daemon mock template

This creates the expected methods and properties of the notification-daemon services, but no devices. You can specify non-default capabilities in “parameters”.

Attributes

__author__

__copyright__

BUS_NAME

MAIN_OBJ

MAIN_IFACE

SYSTEM_BUS

default_caps

Functions

load(mock, parameters)

Module Contents

dbusmock.templates.notification_daemon.__author__ = 'Martin Pitt'[source]
Show Value
"""
(c) 2012 Canonical Ltd.
(c) 2017 - 2022 Martin Pitt <martin@piware.de>
"""
dbusmock.templates.notification_daemon.BUS_NAME = 'org.freedesktop.Notifications'[source]
dbusmock.templates.notification_daemon.MAIN_OBJ = '/org/freedesktop/Notifications'[source]
dbusmock.templates.notification_daemon.MAIN_IFACE = 'org.freedesktop.Notifications'[source]
dbusmock.templates.notification_daemon.SYSTEM_BUS = False[source]
dbusmock.templates.notification_daemon.default_caps = ['body', 'body-markup', 'icon-static', 'image/svg+xml', 'private-synchronous', 'append',...[source]
dbusmock.templates.notification_daemon.load(mock, parameters)[source]