dbusmock.templates.gsd_rfkill

gsd-rfkill mock template

This creates the expected properties of the GNOME Settings Daemon’s rfkill object. You can specify any property such as AirplaneMode in “parameters”.

Attributes

__author__

__copyright__

SYSTEM_BUS

BUS_NAME

MAIN_OBJ

MAIN_IFACE

Functions

load(mock, parameters)

SetAirplaneMode(self, mode)

Convenience method to toggle airplane mode

Module Contents

dbusmock.templates.gsd_rfkill.__author__ = 'Guido Günther'[source]
dbusmock.templates.gsd_rfkill.SYSTEM_BUS = False[source]
dbusmock.templates.gsd_rfkill.BUS_NAME = 'org.gnome.SettingsDaemon.Rfkill'[source]
dbusmock.templates.gsd_rfkill.MAIN_OBJ = '/org/gnome/SettingsDaemon/Rfkill'[source]
dbusmock.templates.gsd_rfkill.MAIN_IFACE = 'org.gnome.SettingsDaemon.Rfkill'[source]
dbusmock.templates.gsd_rfkill.load(mock, parameters)[source]
dbusmock.templates.gsd_rfkill.SetAirplaneMode(self, mode)[source]

Convenience method to toggle airplane mode