dbusmock.templates.low_memory_monitor

low-memory-monitor mock template

This creates the expected methods and properties of the main org.freedesktop.LowMemoryMonitor object.

This provides only the 2.0 D-Bus API of low-memory-monitor.

Attributes

__author__

__copyright__

BUS_NAME

MAIN_OBJ

MAIN_IFACE

SYSTEM_BUS

Functions

load(mock, _parameters)

EmitWarning(self, state)

Module Contents

dbusmock.templates.low_memory_monitor.__author__ = 'Bastien Nocera'[source]
Show Value
"""
(c) 2019, Red Hat Inc.
(c) 2017 - 2022 Martin Pitt <martin@piware.de>
"""
dbusmock.templates.low_memory_monitor.BUS_NAME = 'org.freedesktop.LowMemoryMonitor'[source]
dbusmock.templates.low_memory_monitor.MAIN_OBJ = '/org/freedesktop/LowMemoryMonitor'[source]
dbusmock.templates.low_memory_monitor.MAIN_IFACE = 'org.freedesktop.LowMemoryMonitor'[source]
dbusmock.templates.low_memory_monitor.SYSTEM_BUS = True[source]
dbusmock.templates.low_memory_monitor.load(mock, _parameters)[source]
dbusmock.templates.low_memory_monitor.EmitWarning(self, state)[source]