dbusmock.templates.timedated ============================ .. py:module:: dbusmock.templates.timedated .. autoapi-nested-parse:: 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 ---------- .. autoapisummary:: dbusmock.templates.timedated.__author__ dbusmock.templates.timedated.__copyright__ dbusmock.templates.timedated.BUS_NAME dbusmock.templates.timedated.MAIN_OBJ dbusmock.templates.timedated.MAIN_IFACE dbusmock.templates.timedated.SYSTEM_BUS Functions --------- .. autoapisummary:: dbusmock.templates.timedated.setProperty dbusmock.templates.timedated.load Module Contents --------------- .. py:data:: __author__ :value: 'Iain Lane' .. py:data:: __copyright__ :value: Multiline-String .. raw:: html
Show Value .. code-block:: python """ (c) 2013 Canonical Ltd. (c) 2017 - 2022 Martin Pitt """ .. raw:: html
.. py:data:: BUS_NAME :value: 'org.freedesktop.timedate1' .. py:data:: MAIN_OBJ :value: '/org/freedesktop/timedate1' .. py:data:: MAIN_IFACE :value: 'org.freedesktop.timedate1' .. py:data:: SYSTEM_BUS :value: True .. py:function:: setProperty(prop) .. py:function:: load(mock, parameters)