dbusmock.templates.power_profiles_daemon
power-profiles-daemon < 0.20 mock template
This creates the expected methods and properties of the main
net.hadess.PowerProfiles object.
This provides only the non-deprecated D-Bus API as of version 0.9.
Note that this template is deprecated: Version 0.20 listens on a different
bus name/object path, it is provided in upower_power_profiles_daemon.py
Module Contents
-
dbusmock.templates.power_profiles_daemon.__author__ = 'Bastien Nocera'[source]
-
dbusmock.templates.power_profiles_daemon.__copyright__ = Multiline-String[source]
Show Value
"""
(c) 2021, Red Hat Inc.
(c) 2017 - 2022 Martin Pitt <martin@piware.de>
"""
-
dbusmock.templates.power_profiles_daemon.BUS_NAME = 'net.hadess.PowerProfiles'[source]
-
dbusmock.templates.power_profiles_daemon.MAIN_OBJ = '/net/hadess/PowerProfiles'[source]
-
dbusmock.templates.power_profiles_daemon.MAIN_IFACE = 'net.hadess.PowerProfiles'[source]
-
dbusmock.templates.power_profiles_daemon.SYSTEM_BUS = True[source]
-
dbusmock.templates.power_profiles_daemon.hold_profile(self, profile, reason, application_id)[source]
-
dbusmock.templates.power_profiles_daemon.release_profile(self, cookie)[source]
-
dbusmock.templates.power_profiles_daemon.load(mock, parameters)[source]