From f234279c94f01dbb6c99e03daf155cec8aa293c6 Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Mon, 19 Sep 2016 11:16:00 -0400 Subject: [PATCH] libnm/tests: emit standard properties changed signals from mock objects --- tools/test-networkmanager-service.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/test-networkmanager-service.py b/tools/test-networkmanager-service.py index 3a32d91d4..101199bde 100755 --- a/tools/test-networkmanager-service.py +++ b/tools/test-networkmanager-service.py @@ -113,6 +113,11 @@ class ExportedObj(dbus.service.Object): def _dbus_property_notify(self, dbus_iface, propname): prop = self._dbus_property_get(dbus_iface, propname) self.__dbus_interface_get(dbus_iface).prop_changed_func(self, { propname: prop }) + ExportedObj.PropertiesChanged(self, dbus_iface, { propname: prop }, []) + + @dbus.service.signal(dbus.PROPERTIES_IFACE, signature='sa{sv}as') + def PropertiesChanged(self, iface, changed, invalidated): + pass @dbus.service.method(dbus_interface=dbus.PROPERTIES_IFACE, in_signature='s', out_signature='a{sv}') def GetAll(self, dbus_iface):