dbusmock.templates.timedated

systemd timedated mock template

This creates the expected methods and properties of the main org.freedesktop.timedate object. You can specify D-Bus property values like “Timezone” or “NTP” in “parameters”.

Attributes

__author__

__copyright__

BUS_NAME

MAIN_OBJ

MAIN_IFACE

SYSTEM_BUS

Functions

setProperty(prop)

load(mock, parameters)

Module Contents

dbusmock.templates.timedated.__author__ = 'Iain Lane'[source]
Show Value
"""
(c) 2013 Canonical Ltd.
(c) 2017 - 2022 Martin Pitt <martin@piware.de>
"""
dbusmock.templates.timedated.BUS_NAME = 'org.freedesktop.timedate1'[source]
dbusmock.templates.timedated.MAIN_OBJ = '/org/freedesktop/timedate1'[source]
dbusmock.templates.timedated.MAIN_IFACE = 'org.freedesktop.timedate1'[source]
dbusmock.templates.timedated.SYSTEM_BUS = True[source]
dbusmock.templates.timedated.setProperty(prop)[source]
dbusmock.templates.timedated.load(mock, parameters)[source]